summaryrefslogtreecommitdiffstats
path: root/tests/ui/generics/issue-94432-garbage-ice.rs
blob: 4ddb3a7e9f86b815392c772291faa51b07562a7e (plain)
1
2
3
4
5
6
7
8
9
10
// check-fail
// dont-check-compiler-stdout
// dont-check-compiler-stderr

fna<e>(){fnp(){e}} //~ ERROR unknown start of token: \u{fffd}
//~^ ERROR unknown start of token: \u{fffd}
//~^^ ERROR can't use generic parameters from outer item [E0401]
//~^^^ WARN type parameter `e` should have an upper camel case name

fn main(){}