2023-08-24 19:32:12 +00:00
|
|
|
error: calling `push` with '/' or '\' (file system root) will overwrite the previous path definition
|
2023-10-23 14:11:21 +00:00
|
|
|
--> tests/ui/path_buf_push_overwrite.rs:7:12
|
2019-04-13 16:47:46 +00:00
|
|
|
|
|
|
|
|
LL | x.push("/bar");
|
|
|
|
| ^^^^^^ help: try: `"bar"`
|
|
|
|
|
|
2019-04-21 13:22:06 +00:00
|
|
|
= note: `-D clippy::path-buf-push-overwrite` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::path_buf_push_overwrite)]`
|
2019-04-13 16:47:46 +00:00
|
|
|
|
2023-11-21 17:08:42 +00:00
|
|
|
error: aborting due to 1 previous error
|
2019-04-13 16:47:46 +00:00
|
|
|
|