1
Fork 0

Automatically taint when reporting errors from ItemCtxt

This commit is contained in:
Oli Scherer 2024-07-05 09:16:00 +00:00
parent cd3d98b3be
commit fd9a92542c
26 changed files with 183 additions and 374 deletions

View file

@ -5,8 +5,6 @@ fn example<const N: usize>() {}
fn other() {
example::<[usize; 3]>();
//~^ ERROR type provided when a const
//~| ERROR type annotations needed
example::<[usize; 4 + 5]>();
//~^ ERROR type provided when a const
//~| ERROR type annotations needed
}