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