rust/tests/ui/path_buf_push_overwrite.stderr
2019-04-21 10:24:51 -07:00

11 lines
334 B
Plaintext

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