Skip to content

Commit

Permalink
Forget to update tests to use new error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jroesch committed Sep 2, 2016
1 parent ed5843b commit 6eb06e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-23080-2.rs
Expand Up @@ -13,7 +13,7 @@
#![feature(optin_builtin_traits)]

unsafe trait Trait {
//~^ error: traits with default impls (`e.g. unsafe impl Trait for ..`) must have no methods or associated items
//~^ ERROR E0380
type Output;
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/issue-23080.rs
Expand Up @@ -13,7 +13,7 @@
#![feature(optin_builtin_traits)]

unsafe trait Trait {
//~^ error: traits with default impls (`e.g. unsafe impl Trait for ..`) must have no methods or associated items
//~^ ERROR E0380
fn method(&self) {
println!("Hello");
}
Expand Down

0 comments on commit 6eb06e6

Please sign in to comment.