2019-04-13 18:47:46 +02:00
|
|
|
error: Calling `push` with '/' or '/' (file system root) will overwrite the previous path definition
|
2019-04-21 15:22:06 +02:00
|
|
|
--> $DIR/path_buf_push_overwrite.rs:7:12
|
2019-04-13 18:47:46 +02:00
|
|
|
|
|
|
|
|
LL | x.push("/bar");
|
|
|
|
| ^^^^^^ help: try: `"bar"`
|
|
|
|
|
|
2019-04-21 15:22:06 +02:00
|
|
|
= note: `-D clippy::path-buf-push-overwrite` implied by `-D warnings`
|
2019-04-13 18:47:46 +02:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|