diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-11-21 07:56:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-21 07:56:12 +0100 |
| commit | b1008d13704b75e92060b8b6b823fbabae8f85e6 (patch) | |
| tree | d574e4efa17c6c104b9719dcfc2ab1051b4ce573 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 61878ec254ce3345f337a9fee3d9e63337b2a06b (diff) | |
| parent | b33a0d329236833ecafcd84978f51d6ccb0dd5ad (diff) | |
| download | rust-b1008d13704b75e92060b8b6b823fbabae8f85e6.tar.gz rust-b1008d13704b75e92060b8b6b823fbabae8f85e6.zip | |
Rollup merge of #132207 - compiler-errors:tweak-res-mod-segment, r=petrochenkov
Store resolution for self and crate root module segments Let's make sure to record the segment resolution for `self::`, `crate::` and `$crate::`. I'm actually somewhat surprised that the only diagnostic that uses this is the one that errors on invalid generics on a module segment... but seems strictly more correct regardless, and there may be other diagnostics using these segments resolutions that just haven't been tested for `self`. Also includes a drive-by on `report_prohibit_generics_error`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
