Skip to content

Add test for importing path-segment keyword - #149151

Merged
bors merged 1 commit into
rust-lang:mainfrom
mu001999-contrib:test/use-path-kw
Nov 21, 2025
Merged

Add test for importing path-segment keyword#149151
bors merged 1 commit into
rust-lang:mainfrom
mu001999-contrib:test/use-path-kw

Conversation

@mu001999

Copy link
Copy Markdown
Member

Adding new test to make a snapshot of current compiler's behavior. See #146972 (comment)

r? @petrochenkov

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 20, 2025
Comment threadtests/ui/use/use-path-segment-kw.rs Outdated
Comment threadtests/ui/use/use-path-segment-kw.rs Outdated
Comment threadtests/ui/use/use-path-segment-kw.rs Outdated
Comment threadtests/ui/use/use-path-segment-kw.rs Outdated
Comment threadtests/ui/use/use-path-segment-kw.rs
Comment threadtests/ui/use/use-path-segment-kw.rs Outdated
Comment threadtests/ui/use/use-path-segment-kw.rs
Comment threadtests/ui/use/use-path-segment-kw.rs
Comment threadtests/ui/use/use-path-segment-kw.rs
Comment threadtests/ui/use/use-path-segment-kw.rs
@petrochenkovpetrochenkov added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 21, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

⚠️Warning⚠️

@rust-log-analyzer

This comment has been minimized.

@mu001999

Copy link
Copy Markdown
MemberAuthor

@rustbot ready

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 21, 2025
@petrochenkov

Copy link
Copy Markdown
Contributor

Great.
@bors r+

@bors

bors commented Nov 21, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit 640990f has been approved by petrochenkov

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 21, 2025
bors added a commit that referenced this pull request Nov 21, 2025
Rollup of 7 pull requests
Successful merges:
- #146978 (Emit error when using path-segment keyword as cfg pred)
- #148719 (Allow unnormalized types in drop elaboration)
- #148795 (add `rust.rustflags` and per target `rustflags` options to `bootstrap.toml`)
- #149028 ([rustdoc] Remove `UrlFragment::render` method to unify `clean::types::links` and `anchor`)
- #149043 ( rustdoc-json: add rlib path to ExternalCrate to enable robust crate resolution)
- #149098 (Fix error message for calling a non-tuple struct)
- #149151 (Add test for importing path-segment keyword)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 228b49e into rust-lang:mainNov 21, 2025
11 checks passed
rust-timer added a commit that referenced this pull request Nov 21, 2025
Rollup merge of #149151 - mu001999-contrib:test/use-path-kw, r=petrochenkov
Add test for importing path-segment keyword
Adding new test to make a snapshot of current compiler's behavior. See #146972 (comment)
r? `@petrochenkov`
@rustbotrustbot added this to the 1.93.0 milestone Nov 21, 2025
@mu001999
mu001999 deleted the test/use-path-kw branch November 22, 2025 03:30
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Aug 17, 2026
Rollup of 7 pull requests
Successful merges:
- rust-lang/rust#146978 (Emit error when using path-segment keyword as cfg pred)
- rust-lang/rust#148719 (Allow unnormalized types in drop elaboration)
- rust-lang/rust#148795 (add `rust.rustflags` and per target `rustflags` options to `bootstrap.toml`)
- rust-lang/rust#149028 ([rustdoc] Remove `UrlFragment::render` method to unify `clean::types::links` and `anchor`)
- rust-lang/rust#149043 ( rustdoc-json: add rlib path to ExternalCrate to enable robust crate resolution)
- rust-lang/rust#149098 (Fix error message for calling a non-tuple struct)
- rust-lang/rust#149151 (Add test for importing path-segment keyword)
r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@mu001999@rustbot@rust-log-analyzer@petrochenkov@bors