Skip to content

libsyntax: Remove the use foo = bar syntax from the language in favor#16575

Merged
bors merged 1 commit intorust-lang:masterfrom
pcwalton:import-foo-as-bar
Aug 18, 2014
Merged

libsyntax: Remove the use foo = bar syntax from the language in favor#16575
bors merged 1 commit intorust-lang:masterfrom
pcwalton:import-foo-as-bar

Conversation

@pcwalton
Copy link
Contributor

of use bar as foo.

Change all uses of use foo = bar to use bar as foo.

Implements RFC #47.

Closes #16461.

[breaking-change]

r? @aturon

of `use bar as foo`.

Change all uses of `use foo = bar` to `use bar as foo`.

Implements RFC rust-lang#47.

Closes rust-lang#16461.

[breaking-change]
bors added a commit that referenced this pull request Aug 18, 2014
of `use bar as foo`.

Change all uses of `use foo = bar` to `use bar as foo`.

Implements RFC #47.

Closes #16461.

[breaking-change]

r? @aturon
@bors bors closed this Aug 18, 2014
@bors bors merged commit 67deb2e into rust-lang:master Aug 18, 2014
@pcwalton pcwalton deleted the import-foo-as-bar branch August 18, 2014 21:06
bors pushed a commit to rust-lang-ci/rust that referenced this pull request Feb 25, 2024
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 24, 2026
Fixes: rust-lang/rust-clippy#16555

changelog: [unnecessary_min_or_max]: Fix false negatives for
usize::{MIN,MAX} by handling usize bit width correctly during constant
evaluation, enabling the lint to trigger on cases like n.min(0) /
n.max(usize::MAX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace use id = path; with use path as id;

4 participants