rust/tests/ui/generics/issue-94432-garbage-ice.rs
León Orell Valerian Liehr b00e408e61
Generalize E0401
2023-09-10 23:06:14 +02:00

11 lines
333 B
Rust
Raw Blame History

// check-fail
// dont-check-compiler-stdout
// dont-check-compiler-stderr
fn<EFBFBD>a<e>(){fn<EFBFBD>p(){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(){}