Skip to content

Commit 0a99075

Browse files
Handle compilation error in builtin_type_shadow.rs
1 parent 10184ec commit 0a99075

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/ui/builtin_type_shadow.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
fn foo<u32>(a: u32) -> u32 {
55
//~^ builtin_type_shadow
6-
42
7-
6+
42 //~ ERROR: mismatched type
87
}
98

109
fn main() {}

0 commit comments

Comments
 (0)