]> git.proxmox.com Git - rustc.git/blob - src/tools/clippy/tests/ui/path_buf_push_overwrite.stderr
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / path_buf_push_overwrite.stderr
1 error: calling `push` with '/' or '/' (file system root) will overwrite the previous path definition
2 --> $DIR/path_buf_push_overwrite.rs:7:12
3 |
4 LL | x.push("/bar");
5 | ^^^^^^ help: try: `"bar"`
6 |
7 = note: `-D clippy::path-buf-push-overwrite` implied by `-D warnings`
8
9 error: aborting due to previous error
10