about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-slice-array.js
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-07-14 01:03:07 +0200
committerGitHub <noreply@github.com>2023-07-14 01:03:07 +0200
commit2cc04536b4d0cec1c7831550106463d64b8fb739 (patch)
tree2bd3b2273221daaf4df58696f3952f8dcad95ce9 /tests/rustdoc-js-std/parser-slice-array.js
parentefc3c71c16d91d63e87c552088d2b6f27bff4177 (diff)
parent0b5c683b06bba30cce4eb8528132a15bb1aa8edb (diff)
downloadrust-2cc04536b4d0cec1c7831550106463d64b8fb739.tar.gz
rust-2cc04536b4d0cec1c7831550106463d64b8fb739.zip
Rollup merge of #112729 - jieyouxu:unused-qualifications-suggestion, r=b-naber
Add machine-applicable suggestion for `unused_qualifications` lint

```
error: unnecessary qualification
  --> $DIR/unused-qualifications-suggestion.rs:17:5
   |
LL |     foo::bar();
   |     ^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/unused-qualifications-suggestion.rs:3:9
   |
LL | #![deny(unused_qualifications)]
   |         ^^^^^^^^^^^^^^^^^^^^^
help: replace it with the unqualified path
   |
LL |     bar();
   |     ~~~
```

Closes #92198.
Diffstat (limited to 'tests/rustdoc-js-std/parser-slice-array.js')
0 files changed, 0 insertions, 0 deletions