Update a compile-fail test
This commit is contained in:
parent
d5b2e90744
commit
e423dcc713
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,8 @@
|
|||
|
||||
// ignore-tidy-linelength
|
||||
|
||||
//~^^^^^^^^^^^^ ERROR
|
||||
|
||||
#![feature(optin_builtin_traits)]
|
||||
|
||||
unsafe auto trait Trait {
|
||||
|
@ -22,5 +24,4 @@ fn call_method<T: Trait>(x: T) {}
|
|||
fn main() {
|
||||
// ICE
|
||||
call_method(());
|
||||
//~^ ERROR
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue