-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 7 pull requests #124906
Rollup of 7 pull requests #124906
Commits on Apr 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 829338a - Browse repository at this point
Copy the full SHA 829338aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c26072 - Browse repository at this point
Copy the full SHA 2c26072View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ec337c - Browse repository at this point
Copy the full SHA 2ec337cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13f7623 - Browse repository at this point
Copy the full SHA 13f7623View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d3a9a5 - Browse repository at this point
Copy the full SHA 2d3a9a5View commit details
Commits on May 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 397a35d - Browse repository at this point
Copy the full SHA 397a35dView commit details
Commits on May 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1d9d671 - Browse repository at this point
Copy the full SHA 1d9d671View commit details
Commits on May 8, 2024
-
Simplify
use crate::rustc_foo::bar
occurrences.They can just be written as `use rustc_foo::bar`, which is far more standard. (I didn't even know that a `crate::` prefix was valid.)
Configuration menu - View commit details
-
Copy full SHA for b68b920 - Browse repository at this point
Copy the full SHA b68b920View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbc2abd - Browse repository at this point
Copy the full SHA fbc2abdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 767711b - Browse repository at this point
Copy the full SHA 767711bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fe0be9 - Browse repository at this point
Copy the full SHA 3fe0be9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7531eaf - Browse repository at this point
Copy the full SHA 7531eafView commit details -
Configuration menu - View commit details
-
Copy full SHA for bd8e565 - Browse repository at this point
Copy the full SHA bd8e565View commit details -
Rollup merge of rust-lang#123344 - pietroalbini:pa-unused-imports, r=…
…Nilstrieb Remove braces when fixing a nested use tree into a single item [Back in 2019](rust-lang#56645) I added rustfix support for the `unused_imports` lint, to automatically remove them when running `cargo fix`. For the most part this worked great, but when removing all but one childs of a nested use tree it turned `use foo::{Unused, Used}` into `use foo::{Used}`. This is slightly annoying, because it then requires you to run `rustfmt` to get `use foo::Used`. This PR automatically removes braces and the surrouding whitespace when all but one child of a nested use tree are unused. To get it done I had to add the span of the nested use tree to the AST, and refactor a bit the code I wrote back then. A thing I noticed is, there doesn't seem to be any `//@ run-rustfix` test for fixing the `unused_imports` lint. I created a test in `tests/suggestions` (is that the right directory?) that for now tests just what I added in the PR. I can followup in a separate PR to add more tests for fixing `unused_lints`. This PR is best reviewed commit-by-commit.
Configuration menu - View commit details
-
Copy full SHA for 14bdce1 - Browse repository at this point
Copy the full SHA 14bdce1View commit details -
Rollup merge of rust-lang#124587 - reitermarkus:use-generic-nonzero, …
…r=dtolnay Generic `NonZero` post-stabilization changes. Tracking issue: rust-lang#120257 r? `@dtolnay`
Configuration menu - View commit details
-
Copy full SHA for d174a49 - Browse repository at this point
Copy the full SHA d174a49View commit details -
Rollup merge of rust-lang#124775 - matthiaskrgr:boom, r=jieyouxu
crashes: add lastest batch of crash tests
Configuration menu - View commit details
-
Copy full SHA for 6b92d9a - Browse repository at this point
Copy the full SHA 6b92d9aView commit details -
Rollup merge of rust-lang#124869 - compiler-errors:keyword, r=Nilstrieb
Make sure we don't deny macro vars w keyword names `$async:ident`, etc are all valid. Fixes rust-lang#124862
Configuration menu - View commit details
-
Copy full SHA for cae0a91 - Browse repository at this point
Copy the full SHA cae0a91View commit details -
Rollup merge of rust-lang#124876 - nnethercote:rm-use-crate-rustc_foo…
…, r=compiler-errors Simplify `use crate::rustc_foo::bar` occurrences. They can just be written as `use rustc_foo::bar`, which is far more standard. (I didn't even know that a `crate::` prefix was valid.) r? `@eholk`
Configuration menu - View commit details
-
Copy full SHA for a12aff2 - Browse repository at this point
Copy the full SHA a12aff2View commit details -
Rollup merge of rust-lang#124892 - jfgoog:update-cc, r=workingjubilee
Update cc crate to v1.0.97
Configuration menu - View commit details
-
Copy full SHA for dcf1c57 - Browse repository at this point
Copy the full SHA dcf1c57View commit details