Handle compilation error in builtin_type_shadow.rs
This commit is contained in:
parent
10184ecbe1
commit
0a990758fb
1 changed files with 1 additions and 2 deletions
|
|
@ -3,8 +3,7 @@
|
|||
|
||||
fn foo<u32>(a: u32) -> u32 {
|
||||
//~^ builtin_type_shadow
|
||||
42
|
||||
|
||||
42 //~ ERROR: mismatched type
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue