-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #4013 - kraai:move-path_buf_push_overwrite-to-nursery, …
…r=matthiaskrgr Move path_buf_push_overwrite to nursery See #4012. changelog: move `path_buf_push_overwrite` to the nursery
- Loading branch information
Showing
5 changed files
with
6 additions
and
5 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
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,10 +1,10 @@ | ||
error: Calling `push` with '/' or '/' (file system root) will overwrite the previous path definition | ||
--> $DIR/path_buf_push_overwrite.rs:6:12 | ||
--> $DIR/path_buf_push_overwrite.rs:7:12 | ||
| | ||
LL | x.push("/bar"); | ||
| ^^^^^^ help: try: `"bar"` | ||
| | ||
= note: #[deny(clippy::path_buf_push_overwrite)] on by default | ||
= note: `-D clippy::path-buf-push-overwrite` implied by `-D warnings` | ||
|
||
error: aborting due to previous error | ||
|