Skip to content

Commit

Permalink
add tests for ICE 94432
Browse files Browse the repository at this point in the history
Fixes #94432
  • Loading branch information
matthiaskrgr committed Jun 29, 2022
1 parent 3fcf43b commit 726d613
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/ui/generics/issue-94432-garbage-ice.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,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(){}

0 comments on commit 726d613

Please sign in to comment.