Skip to content

Commit ad9686e

Browse files
committed
test: move the main file to unfixable
since it's the one that makes no suggestions
1 parent 306d4e3 commit ad9686e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/ui/char_lit_as_u8.rs renamed to tests/ui/char_lit_as_u8_unfixable.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//@no-rustfix
12
#![warn(clippy::char_lit_as_u8)]
23

34
fn main() {

tests/ui/char_lit_as_u8.stderr renamed to tests/ui/char_lit_as_u8_unfixable.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: casting a character literal to `u8` truncates
2-
--> tests/ui/char_lit_as_u8.rs:5:13
2+
--> tests/ui/char_lit_as_u8_unfixable.rs:6:13
33
|
44
LL | let _ = '❤' as u8;
55
| ^^^^^^^^^

0 commit comments

Comments
 (0)