diff options
| author | Aravind Gollakota <aravindprasant@gmail.com> | 2018-04-22 16:48:38 -0500 |
|---|---|---|
| committer | Aravind Gollakota <aravindprasant@gmail.com> | 2018-04-26 20:28:30 -0500 |
| commit | e423dcc7133f20c8da2609dba96afeeab1efbc5a (patch) | |
| tree | c88cfa3f22315840a4887315a74cbe4c8bc50f92 /src | |
| parent | d5b2e907444cb202407771eee9dd41c2518c1724 (diff) | |
| download | rust-e423dcc7133f20c8da2609dba96afeeab1efbc5a.tar.gz rust-e423dcc7133f20c8da2609dba96afeeab1efbc5a.zip | |
Update a compile-fail test
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/compile-fail/issue-23080-2.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/compile-fail/issue-23080-2.rs b/src/test/compile-fail/issue-23080-2.rs index 2aa87f8424b..fc365a4b9aa 100644 --- a/src/test/compile-fail/issue-23080-2.rs +++ b/src/test/compile-fail/issue-23080-2.rs @@ -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 } |
