Skip to content

Commit 19f45e2

Browse files
authored
Rollup merge of rust-lang#98682 - matthiaskrgr:test-94432, r=compiler-errors
add tests for ICE 94432 Fixes rust-lang#94432
2 parents 6d6b30c + 726d613 commit 19f45e2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// check-fail
2+
// dont-check-compiler-stdout
3+
// dont-check-compiler-stderr
4+
5+
fna<e>(){fnp(){e}} //~ ERROR unknown start of token: \u{fffd}
6+
//~^ ERROR unknown start of token: \u{fffd}
7+
//~^^ ERROR can't use generic parameters from outer function [E0401]
8+
//~^^^ WARN type parameter `e` should have an upper camel case name
9+
10+
fn main(){}

0 commit comments

Comments
 (0)