Skip to content

Commit

Permalink
Update a compile-fail test
Browse files Browse the repository at this point in the history
  • Loading branch information
aravind-pg committed Apr 27, 2018
1 parent d5b2e90 commit e423dcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/compile-fail/issue-23080-2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

// ignore-tidy-linelength

//~^^^^^^^^^^^^ ERROR

#![feature(optin_builtin_traits)]

unsafe auto trait Trait {
Expand All @@ -22,5 +24,4 @@ fn call_method<T: Trait>(x: T) {}
fn main() {
// ICE
call_method(());
//~^ ERROR
}

0 comments on commit e423dcc

Please sign in to comment.