-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 6 pull requests #99044
Rollup of 6 pull requests #99044
Commits on Jun 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 992cfc1 - Browse repository at this point
Copy the full SHA 992cfc1View commit details
Commits on Jul 6, 2022
-
sess: stabilize
--terminal-width
Formerly `-Zterminal-width`, `--terminal-width` allows the user or build tool to inform rustc of the width of the terminal so that diagnostics can be truncated. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e528884 - Browse repository at this point
Copy the full SHA e528884View commit details -
session:
terminal-width
->output-width
Rename the `--terminal-width` flag to `--output-width` as the behaviour doesn't just apply to terminals (and so is slightly less accurate). Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd23af6 - Browse repository at this point
Copy the full SHA cd23af6View commit details -
session:
output-width
->diagnostic-width
Rename the `--output-width` flag to `--diagnostic-width` as this appears to be the preferred name within the compiler team. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 44c1fcc - Browse repository at this point
Copy the full SHA 44c1fccView commit details
Commits on Jul 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9d2a9d9 - Browse repository at this point
Copy the full SHA 9d2a9d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 933a994 - Browse repository at this point
Copy the full SHA 933a994View commit details -
Add test for and fix rust-lang/rust-clippy#9131
This lint seems to have been broken by rust-lang#98446
Configuration menu - View commit details
-
Copy full SHA for 98b8419 - Browse repository at this point
Copy the full SHA 98b8419View commit details
Commits on Jul 8, 2022
-
Move is_free and is_free_or_static to Region, change resolve_var to r…
…esolve_region, and remove RootEmptyRegion
Configuration menu - View commit details
-
Copy full SHA for 2471431 - Browse repository at this point
Copy the full SHA 2471431View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31e1a77 - Browse repository at this point
Copy the full SHA 31e1a77View commit details -
Rollup merge of rust-lang#95635 - davidtwco:terminal-width-stabilizat…
…ion, r=oli-obk sess: stabilize `--terminal-width` as `--diagnostic-width` Formerly `-Zterminal-width`, `--terminal-width` allows the user or build tool to inform rustc of the width of the terminal so that diagnostics can be truncated. Pending agreement to stabilize, see tracking issue at rust-lang#84673. r? ``@oli-obk``
Configuration menu - View commit details
-
Copy full SHA for 8082a5b - Browse repository at this point
Copy the full SHA 8082a5bView commit details -
Rollup merge of rust-lang#98633 - c410-f3r:yet-another-let-chain, r=e…
…stebank Fix last `let_chains` blocker In order to forbid things like `let x = (let y = 1);` or `if let a = 1 && { let x = let y = 1; } {}`, the parser **HAS** to know the context of `let`. This context thing is not a surprise in the parser because you can see **a lot** of ad hoc fixes mixing parsing logic with validation logic creating code that looks more like spaghetti with tomato sauce. To make things even greater, a new ad hoc fix was added to only allow `let`s in a valid `let_chains` context by checking the previously processed token. This was the only solution I could think of and believe me, I thought about it for a long time 👍 In the long term, it should be preferable to segregate different responsibilities or create a more robust and cleaner parser framework. cc rust-lang#94927 cc rust-lang#53667
Configuration menu - View commit details
-
Copy full SHA for 1916f84 - Browse repository at this point
Copy the full SHA 1916f84View commit details -
Rollup merge of rust-lang#98718 - yoshuawuyts:stabilize-into-future, …
…r=yaahc Stabilize `into_future` rust-lang#67644 has been labeled with [S-tracking-ready-to-stabilize](https://github.com/rust-lang/rust/labels/S-tracking-ready-to-stabilize) - which mentions someone needs to file a stabilization PR. So hence this PR! ✨ Thanks! Closes rust-lang#67644 r? `@joshtriplett`
Configuration menu - View commit details
-
Copy full SHA for 1da9c94 - Browse repository at this point
Copy the full SHA 1da9c94View commit details -
Rollup merge of rust-lang#98795 - jackh726:lexical_region_resolve_cle…
…anup, r=compiler-errors A few cleanups Each commit is (mostly) self-explanatory. These changes have come as I try to remove `ReEmpty` (rust-lang#98559).
Configuration menu - View commit details
-
Copy full SHA for 897062f - Browse repository at this point
Copy the full SHA 897062fView commit details -
Rollup merge of rust-lang#99019 - pierwill:doc-mir-statement, r=cjgillot
Add doc comments in `rustc_middle::mir`
Configuration menu - View commit details
-
Copy full SHA for fea7e45 - Browse repository at this point
Copy the full SHA fea7e45View commit details -
Rollup merge of rust-lang#99026 - anall:buffix/clippy-9131, r=xFrednet
Add test for and fix rust-lang/rust-clippy#9131 This lint seems to have been broken by rust-lang#98446 -- but of course, there was no clippy test for this case at the time. `expr.span.ctxt().outer_expn_data()` now has `MacroKind::Derive` instead of `MacroKind::Attr` for something like: ``` #[derive(Clone, Debug)] pub struct UnderscoreInStruct { _foo: u32, } ``` --- changelog: none closes: rust-lang/rust-clippy#9131
Configuration menu - View commit details
-
Copy full SHA for e7c69bf - Browse repository at this point
Copy the full SHA e7c69bfView commit details