]> git.lizzy.rs Git - rust.git/commitdiff
Fix test to reflect new note
authorvegai <vegai@iki.fi>
Wed, 2 Mar 2016 17:27:56 +0000 (19:27 +0200)
committervegai <vegai@iki.fi>
Wed, 2 Mar 2016 17:27:56 +0000 (19:27 +0200)
src/test/compile-fail/issue-5035.rs

index cdf9d3bd36ecefcf1f32de2f0a317ecc7cdf2d45..dabeb503841c548208b3b96260a778d6c21267ea 100644 (file)
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 trait I {}
-type K = I;
+type K = I; //~ NOTE: type defined here
 impl K for isize {} //~ ERROR: `K` is not a trait
 //~^ NOTE: `type` aliases cannot be used for traits
 fn main() {}