Uh oh!
There was an error while loading. Please reload this page.
Avoid resolving path keywords outside TypeNS - #160444
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
mu001999
commented
Aug 4, 2026
@rustbot ready |
petrochenkov
commented
Aug 4, 2026
@bors r+ |
…rochenkov Avoid resolving path keywords outside `TypeNS` Fixesrust-lang#160195 After allowing trailing `self`, `self` imports were resolved in all namespaces wrongly. Resolving path keywords should return `Determined` immediately outside `TypeNS`. r? petrochenkov
…rochenkov Avoid resolving path keywords outside `TypeNS` Fixesrust-lang#160195 After allowing trailing `self`, `self` imports were resolved in all namespaces wrongly. Resolving path keywords should return `Determined` immediately outside `TypeNS`. r? petrochenkov
…rochenkov Avoid resolving path keywords outside `TypeNS` Fixesrust-lang#160195 After allowing trailing `self`, `self` imports were resolved in all namespaces wrongly. Resolving path keywords should return `Determined` immediately outside `TypeNS`. r? petrochenkov
…uwer Rollup of 22 pull requests Successful merges: - #158147 (std: fix stack buffer overflow in Windows junction_point) - #159784 (Hint that memchr returns an in-bounds index) - #160130 (Select cache values to verify by key fingerprint, not value fingerprint) - #160343 (Rename `OutlivesPredicate` to `OutlivesClause`) - #160360 (Remove rustc_middle dependency on rustc_hir_pretty) - #160387 (rustc_codegen_ssa: Correctly apply the static `--jobs-backend` limit to backend parallelism) - #160422 (move mir-opt miri tests to CI logic) - #160444 (Avoid resolving path keywords outside `TypeNS`) - #160510 (Resolver: (un)tracked borrows for `CmRefCell` made safe my unsafe speculative flag) - #155424 ([blocked] Link to proposed LLM policy in CONTRIBUTING and pull request template) - #158726 (std: move futex implementations into sys::sync::futex) - #159225 (Split IncrCompSession out of Session) - #159820 (Make the `rustc_unsafe_specialization_marker` attribute actually `unsafe`) - #160198 (Rework `smallest_range_containing` to handle duplicates) - #160362 (Split `SpannedTypeVisitor` into its own crate, `rustc_ty_walk`) - #160390 (autodiff: Handle slice-tailed DSTs in type trees) - #160420 (Suggest `cast_signed()` for overflowing signed integer literals) - #160520 (Add some tests for specialization) - #160522 (fix(bootstrap): Normalize the names of proc macro dependency crates) - #160531 (docs: fix typo in AllowExprMetavar comment) - #160538 (Update expect messages in tcp.rs doc examples to follow the style guide) - #160548 (bootstrap: Register `coverage-map` and `coverage-run` aliases via a separate step)
…rochenkov Avoid resolving path keywords outside `TypeNS` Fixesrust-lang#160195 After allowing trailing `self`, `self` imports were resolved in all namespaces wrongly. Resolving path keywords should return `Determined` immediately outside `TypeNS`. r? petrochenkov
…uwer Rollup of 25 pull requests Successful merges: - #154585 (treat no_mangle_generic_items as hard error instead of lint warning) - #158147 (std: fix stack buffer overflow in Windows junction_point) - #160130 (Select cache values to verify by key fingerprint, not value fingerprint) - #160343 (Rename `OutlivesPredicate` to `OutlivesClause`) - #160360 (Remove rustc_middle dependency on rustc_hir_pretty) - #160387 (rustc_codegen_ssa: Correctly apply the static `--jobs-backend` limit to backend parallelism) - #160422 (move mir-opt miri tests to CI logic) - #160444 (Avoid resolving path keywords outside `TypeNS`) - #160510 (Resolver: (un)tracked borrows for `CmRefCell` made safe my unsafe speculative flag) - #155424 ([blocked] Link to proposed LLM policy in CONTRIBUTING and pull request template) - #158726 (std: move futex implementations into sys::sync::futex) - #158762 (Emit thumb code on VEX V5) - #159225 (Split IncrCompSession out of Session) - #159820 (Make the `rustc_unsafe_specialization_marker` attribute actually `unsafe`) - #160198 (Rework `smallest_range_containing` to handle duplicates) - #160362 (Split `SpannedTypeVisitor` into its own crate, `rustc_ty_walk`) - #160390 (autodiff: Handle slice-tailed DSTs in type trees) - #160420 (Suggest `cast_signed()` for overflowing signed integer literals) - #160516 (Add regression test for HRTB projection in closure) - #160520 (Add some tests for specialization) - #160522 (fix(bootstrap): Normalize the names of proc macro dependency crates) - #160523 (Add regression test for opaque type) - #160531 (docs: fix typo in AllowExprMetavar comment) - #160538 (Update expect messages in tcp.rs doc examples to follow the style guide) - #160548 (bootstrap: Register `coverage-map` and `coverage-run` aliases via a separate step)
…uwer Rollup of 25 pull requests Successful merges: - #158147 (std: fix stack buffer overflow in Windows junction_point) - #160130 (Select cache values to verify by key fingerprint, not value fingerprint) - #160343 (Rename `OutlivesPredicate` to `OutlivesClause`) - #160360 (Remove rustc_middle dependency on rustc_hir_pretty) - #160387 (rustc_codegen_ssa: Correctly apply the static `--jobs-backend` limit to backend parallelism) - #160422 (move mir-opt miri tests to CI logic) - #160444 (Avoid resolving path keywords outside `TypeNS`) - #160510 (Resolver: (un)tracked borrows for `CmRefCell` made safe by unsafe speculative flag) - #155424 ([blocked] Link to proposed LLM policy in CONTRIBUTING and pull request template) - #158726 (std: move futex implementations into sys::sync::futex) - #158762 (Emit thumb code on VEX V5) - #159225 (Split IncrCompSession out of Session) - #159820 (Make the `rustc_unsafe_specialization_marker` attribute actually `unsafe`) - #160198 (Rework `smallest_range_containing` to handle duplicates) - #160362 (Split `SpannedTypeVisitor` into its own crate, `rustc_ty_walk`) - #160390 (autodiff: Handle slice-tailed DSTs in type trees) - #160420 (Suggest `cast_signed()` for overflowing signed integer literals) - #160501 (Add bootstrap CLI snapshot test for testing miri) - #160516 (Add regression test for HRTB projection in closure) - #160520 (Add some tests for specialization) - #160522 (fix(bootstrap): Normalize the names of proc macro dependency crates) - #160523 (Add regression test for opaque type) - #160531 (docs: fix typo in AllowExprMetavar comment) - #160538 (Update expect messages in tcp.rs doc examples to follow the style guide) - #160548 (bootstrap: Register `coverage-map` and `coverage-run` aliases via a separate step)
Uh oh!
There was an error while loading. Please reload this page.
Rollup merge of #160444 - mu001999-contrib:fix-160195, r=petrochenkov Avoid resolving path keywords outside `TypeNS` Fixes#160195 After allowing trailing `self`, `self` imports were resolved in all namespaces wrongly. Resolving path keywords should return `Determined` immediately outside `TypeNS`. r? petrochenkov
JonathanBrouwer
commented
Aug 6, 2026
@rust-timer build b45ce0c |
This comment has been minimized.
This comment has been minimized.
JonathanBrouwer
commented
Aug 7, 2026
^ All PRs in the rollup are getting this identical regression, this will most likely be a false positive |
rust-timer
commented
Aug 7, 2026
Finished benchmarking commit (b45ce0c): comparison URL. Overall result: ❌✅ regressions and improvements - please read:Benchmarking means the PR may be perf-sensitive. It's automatically marked not fit for rolling up. Overriding is possible but disadvised: it risks changing compiler perf. Next, please: If you can, justify the regressions found in this try perf run in writing along with @bors rollup=never rustc-perf Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary -1.2%, secondary 24.9%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 11.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary 0.0%, secondary 0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 454.551s -> 457.036s (0.55%) |
shirok1
commented
Aug 7, 2026
…uwer Rollup of 25 pull requests Successful merges: - rust-lang/rust#158147 (std: fix stack buffer overflow in Windows junction_point) - rust-lang/rust#160130 (Select cache values to verify by key fingerprint, not value fingerprint) - rust-lang/rust#160343 (Rename `OutlivesPredicate` to `OutlivesClause`) - rust-lang/rust#160360 (Remove rustc_middle dependency on rustc_hir_pretty) - rust-lang/rust#160387 (rustc_codegen_ssa: Correctly apply the static `--jobs-backend` limit to backend parallelism) - rust-lang/rust#160422 (move mir-opt miri tests to CI logic) - rust-lang/rust#160444 (Avoid resolving path keywords outside `TypeNS`) - rust-lang/rust#160510 (Resolver: (un)tracked borrows for `CmRefCell` made safe by unsafe speculative flag) - rust-lang/rust#155424 ([blocked] Link to proposed LLM policy in CONTRIBUTING and pull request template) - rust-lang/rust#158726 (std: move futex implementations into sys::sync::futex) - rust-lang/rust#158762 (Emit thumb code on VEX V5) - rust-lang/rust#159225 (Split IncrCompSession out of Session) - rust-lang/rust#159820 (Make the `rustc_unsafe_specialization_marker` attribute actually `unsafe`) - rust-lang/rust#160198 (Rework `smallest_range_containing` to handle duplicates) - rust-lang/rust#160362 (Split `SpannedTypeVisitor` into its own crate, `rustc_ty_walk`) - rust-lang/rust#160390 (autodiff: Handle slice-tailed DSTs in type trees) - rust-lang/rust#160420 (Suggest `cast_signed()` for overflowing signed integer literals) - rust-lang/rust#160501 (Add bootstrap CLI snapshot test for testing miri) - rust-lang/rust#160516 (Add regression test for HRTB projection in closure) - rust-lang/rust#160520 (Add some tests for specialization) - rust-lang/rust#160522 (fix(bootstrap): Normalize the names of proc macro dependency crates) - rust-lang/rust#160523 (Add regression test for opaque type) - rust-lang/rust#160531 (docs: fix typo in AllowExprMetavar comment) - rust-lang/rust#160538 (Update expect messages in tcp.rs doc examples to follow the style guide) - rust-lang/rust#160548 (bootstrap: Register `coverage-map` and `coverage-run` aliases via a separate step)
…uwer Rollup of 25 pull requests Successful merges: - rust-lang/rust#158147 (std: fix stack buffer overflow in Windows junction_point) - rust-lang/rust#160130 (Select cache values to verify by key fingerprint, not value fingerprint) - rust-lang/rust#160343 (Rename `OutlivesPredicate` to `OutlivesClause`) - rust-lang/rust#160360 (Remove rustc_middle dependency on rustc_hir_pretty) - rust-lang/rust#160387 (rustc_codegen_ssa: Correctly apply the static `--jobs-backend` limit to backend parallelism) - rust-lang/rust#160422 (move mir-opt miri tests to CI logic) - rust-lang/rust#160444 (Avoid resolving path keywords outside `TypeNS`) - rust-lang/rust#160510 (Resolver: (un)tracked borrows for `CmRefCell` made safe by unsafe speculative flag) - rust-lang/rust#155424 ([blocked] Link to proposed LLM policy in CONTRIBUTING and pull request template) - rust-lang/rust#158726 (std: move futex implementations into sys::sync::futex) - rust-lang/rust#158762 (Emit thumb code on VEX V5) - rust-lang/rust#159225 (Split IncrCompSession out of Session) - rust-lang/rust#159820 (Make the `rustc_unsafe_specialization_marker` attribute actually `unsafe`) - rust-lang/rust#160198 (Rework `smallest_range_containing` to handle duplicates) - rust-lang/rust#160362 (Split `SpannedTypeVisitor` into its own crate, `rustc_ty_walk`) - rust-lang/rust#160390 (autodiff: Handle slice-tailed DSTs in type trees) - rust-lang/rust#160420 (Suggest `cast_signed()` for overflowing signed integer literals) - rust-lang/rust#160501 (Add bootstrap CLI snapshot test for testing miri) - rust-lang/rust#160516 (Add regression test for HRTB projection in closure) - rust-lang/rust#160520 (Add some tests for specialization) - rust-lang/rust#160522 (fix(bootstrap): Normalize the names of proc macro dependency crates) - rust-lang/rust#160523 (Add regression test for opaque type) - rust-lang/rust#160531 (docs: fix typo in AllowExprMetavar comment) - rust-lang/rust#160538 (Update expect messages in tcp.rs doc examples to follow the style guide) - rust-lang/rust#160548 (bootstrap: Register `coverage-map` and `coverage-run` aliases via a separate step)
Fixes#160195
After allowing trailing
self,selfimports were resolved in all namespaces wrongly. Resolving path keywords should returnDeterminedimmediately outsideTypeNS.r? petrochenkov