Forget to update tests to use new error message

This commit is contained in:
Jared Roesch 2016-08-18 12:46:20 -07:00
parent ed5843bcc6
commit 6eb06e6770
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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");
}