summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-02-09 23:18:34 +0530
committerGitHub <noreply@github.com>2023-02-09 23:18:34 +0530
commitbe1789a56d98e5f8334fa66a177b8118ea22dd55 (patch)
treed54125e761691db02892956579fc410a09f95951 /tests/rustdoc-js-std/parser-errors.js
parent8cca42a47f5d574c8f7302c98c3f918cdc772fbb (diff)
parenta3637032db5426a47d2ed6c91dcb4f65929bcf58 (diff)
downloadrust-be1789a56d98e5f8334fa66a177b8118ea22dd55.tar.gz
Rollup merge of #107648 - matthiaskrgr:unused_lifetime_104432_fix, r=cjgillot
unused-lifetimes: don't warn about lifetimes originating from expanded code previously, we would warn like this: ```` warning: lifetime parameter `'s` never used --> /tmp/unusedlif/code.rs:6:62 | 5 | #[derive(Clone)] | - help: elide the unused lifetime 6 | struct ShimMethod4<T: Trait2 + 'static>(pub &'static dyn for<'s> Fn(&'s mut T::As)); | ^^ | = note: requested on the command line with `-W unused-lifetimes` ```` Fixes #104432
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions