Skip to content

Commit 1607d5b

Browse files
Add note test for E0132
1 parent 9b690c9 commit 1607d5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/compile-fail/E0132.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#[start]
1414
fn f<T>() {} //~ ERROR E0132
15+
//~| NOTE start function cannot have type parameters
1516

1617
fn main() {
1718
}

0 commit comments

Comments
 (0)