blob: 1453d020c412a8829c320e8f9ad464505aae41e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: calling `push` with '/' or '\' (file system root) will overwrite the previous path definition
--> $DIR/path_buf_push_overwrite.rs:6:12
|
LL | x.push("/bar");
| ^^^^^^ help: try: `"bar"`
|
= note: `-D clippy::path-buf-push-overwrite` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::path_buf_push_overwrite)]`
error: aborting due to previous error
|