rust/tests/ui/generics/issue-94432-garbage-ice.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
336 B
Rust
Raw Normal View History

2022-06-29 19:30:19 +00:00
//@ 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}
2023-09-10 21:06:14 +00:00
//~^^ ERROR can't use generic parameters from outer item [E0401]
2022-06-29 19:30:19 +00:00
//~^^^ WARN type parameter `e` should have an upper camel case name
fn main(){}