Forget to update tests to use new error message
This commit is contained in:
parent
ed5843bcc6
commit
6eb06e6770
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue