1
Fork 0

Update a compile-fail test

This commit is contained in:
Aravind Gollakota 2018-04-22 16:48:38 -05:00
parent d5b2e90744
commit e423dcc713

View file

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