about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-01 01:20:25 +0100
committerGitHub <noreply@github.com>2023-03-01 01:20:25 +0100
commit19604c2362c0b7687b32bf9ca442078564de1dab (patch)
treea2d3ebb10a14b659b81957cddebc4ec0ca4ed026 /compiler/rustc_parse/src/errors.rs
parentb2dc8c505cdeeeea0e11c1a799683a514e5b7acf (diff)
parentf851a8aefa5fd61405e8f82989995dce12d93bfc (diff)
downloadrust-19604c2362c0b7687b32bf9ca442078564de1dab.tar.gz
rust-19604c2362c0b7687b32bf9ca442078564de1dab.zip
Rollup merge of #108554 - compiler-errors:late-bound-object-default, r=oli-obk
Only look for param in item's generics if it actually comes from generics

Record whether a `hir::GenericParam` comes from an item's generics, or from a `for<...>` binder. Then, only look for the param in `object_lifetime_default` if it actually comes from the item's generics.

Fixes #108177
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions