mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Rollup merge of #98682 - matthiaskrgr:test-94432, r=compiler-errors
add tests for ICE 94432 Fixes #94432
This commit is contained in:
commit
19f45e29b9
10
src/test/ui/generics/issue-94432-garbage-ice.rs
Normal file
10
src/test/ui/generics/issue-94432-garbage-ice.rs
Normal file
@ -0,0 +1,10 @@
|
||||
// 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 function [E0401]
|
||||
//~^^^ WARN type parameter `e` should have an upper camel case name
|
||||
|
||||
fn main(){}
|
Loading…
Reference in New Issue
Block a user