]> git.lizzy.rs Git - rust.git/blob - tests/ui/generics/issue-94432-garbage-ice.rs
Rollup merge of #107598 - chenyukang:yukang/fix-core-bench, r=thomcc
[rust.git] / tests / ui / generics / issue-94432-garbage-ice.rs
1 // check-fail
2 // dont-check-compiler-stdout
3 // dont-check-compiler-stderr
4
5 fn�a<e>(){fn�p(){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(){}