Automatically taint when reporting errors from ItemCtxt
This commit is contained in:
parent
cd3d98b3be
commit
fd9a92542c
26 changed files with 183 additions and 374 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue