Skip to content

Commit e423dcc

Browse files
committed
Update a compile-fail test
1 parent d5b2e90 commit e423dcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/compile-fail/issue-23080-2.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
// ignore-tidy-linelength
1212

13+
//~^^^^^^^^^^^^ ERROR
14+
1315
#![feature(optin_builtin_traits)]
1416

1517
unsafe auto trait Trait {
@@ -22,5 +24,4 @@ fn call_method<T: Trait>(x: T) {}
2224
fn main() {
2325
// ICE
2426
call_method(());
25-
//~^ ERROR
2627
}

0 commit comments

Comments
 (0)