summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generics/issue-94432-garbage-ice.rs
blob: d0709e2d2a46c63cf98905a1d77869234147c41f (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 function [E0401]
//~^^^ WARN type parameter `e` should have an upper camel case name

fn main(){}