diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-21 01:30:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-21 01:30:15 +0100 |
| commit | aea7c1d8d7681a22a29215ce16043a00a0898b05 (patch) | |
| tree | a5772360c2227f57406d2c2097d5fe55c1b7e2f6 /compiler/rustc_parse/src/parser/expr.rs | |
| parent | f3b19f54fa9ab80e309001412fc8bcaa4fd767ee (diff) | |
| parent | cb88030b286dab999d835aeebd21a2cc56c96b8c (diff) | |
| download | rust-aea7c1d8d7681a22a29215ce16043a00a0898b05.tar.gz rust-aea7c1d8d7681a22a29215ce16043a00a0898b05.zip | |
Rollup merge of #134509 - adetaylor:niche-deshadowing-tests, r=wesleywiser
Arbitrary self types v2: niche deshadowing test Arbitrary self types v2 attempts to detect cases where methods in an "outer" type (e.g. a smart pointer) might "shadow" methods in the referent. There are a couple of cases where the current code makes no attempt to detect such shadowing. Both of these cases only apply if other unstable features are enabled. Add a test, mostly for illustrative purposes, so we can see the shadowing cases that can occur. Part of #44874 r? ```@wesleywiser```
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
