Skip to content

Commit 86357c3

Browse files
committed
Fix test to reflect new note
1 parent bd7e422 commit 86357c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/issue-5035.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
trait I {}
12-
type K = I;
12+
type K = I; //~ NOTE: type defined here
1313
impl K for isize {} //~ ERROR: `K` is not a trait
1414
//~^ NOTE: `type` aliases cannot be used for traits
1515
fn main() {}

0 commit comments

Comments
 (0)