-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove FIXME and make it retain old raw string hashes
- Loading branch information
Showing
3 changed files
with
78 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,63 @@ | ||
error: this path refers to a DOS device | ||
--> $DIR/bare_dos_device_names.rs:19:7 | ||
--> $DIR/bare_dos_device_names.rs:18:7 | ||
| | ||
LL | a("con"); | ||
| ^^^^^ | ||
| | ||
= note: `-D clippy::bare-dos-device-names` implied by `-D warnings` | ||
help: if this is intended, try | ||
help: if this is intended, use | ||
| | ||
LL | a(r"//./con"/); | ||
| ~~~~~~~~~~~ | ||
help: if this was intended to point to a file or folder, try | ||
LL | a(r"//./con"); | ||
| ~~~~~~~~~~ | ||
help: if this was intended to point to a file or folder, use | ||
| | ||
LL | a("./con"); | ||
| ~~~~~~~ | ||
|
||
error: this path refers to a DOS device | ||
--> $DIR/bare_dos_device_names.rs:20:7 | ||
--> $DIR/bare_dos_device_names.rs:19:7 | ||
| | ||
LL | b("conin$"); | ||
| ^^^^^^^^ | ||
| | ||
help: if this is intended, try | ||
help: if this is intended, use | ||
| | ||
LL | b(r"//./conin$"/); | ||
| ~~~~~~~~~~~~~~ | ||
help: if this was intended to point to a file or folder, try | ||
LL | b(r"//./conin$"); | ||
| ~~~~~~~~~~~~~ | ||
help: if this was intended to point to a file or folder, use | ||
| | ||
LL | b("./conin$"); | ||
| ~~~~~~~~~~ | ||
|
||
error: this path refers to a DOS device | ||
--> $DIR/bare_dos_device_names.rs:21:16 | ||
--> $DIR/bare_dos_device_names.rs:20:16 | ||
| | ||
LL | File::open("conin$"); | ||
| ^^^^^^^^ | ||
| | ||
help: if this is intended, try | ||
help: if this is intended, use | ||
| | ||
LL | File::open(r"//./conin$"/); | ||
| ~~~~~~~~~~~~~~ | ||
help: if this was intended to point to a file or folder, try | ||
LL | File::open(r"//./conin$"); | ||
| ~~~~~~~~~~~~~ | ||
help: if this was intended to point to a file or folder, use | ||
| | ||
LL | File::open("./conin$"); | ||
| ~~~~~~~~~~ | ||
|
||
error: aborting due to 3 previous errors | ||
error: this path refers to a DOS device | ||
--> $DIR/bare_dos_device_names.rs:23:15 | ||
| | ||
LL | Path::new(r##"aux"##); | ||
| ^^^^^^^^^^ | ||
| | ||
help: if this is intended, use | ||
| | ||
LL | Path::new(r##"//./aux"##); | ||
| ~~~~~~~~~~~~~~ | ||
help: if this was intended to point to a file or folder, use | ||
| | ||
LL | Path::new(r##"./aux"##); | ||
| ~~~~~~~~~~~~ | ||
|
||
error: aborting due to 4 previous errors | ||
|