-
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 #96816
Rollup of 7 pull requests #96816
Commits on May 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a26cb61 - Browse repository at this point
Copy the full SHA a26cb61View commit details
Commits on May 6, 2022
-
typeck: port "unconstrained opaque type" diag
Port the "unconstrained opaque type" diagnostic to using the diagnostic derive. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3dac70f - Browse repository at this point
Copy the full SHA 3dac70fView commit details -
macros: allow
Vec
fields in diagnostic deriveDiagnostics can have multiple primary spans, or have subdiagnostics repeated at multiple locations, so support `Vec<..>` fields in the diagnostic derive which become loops in the generated code. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 859079f - Browse repository at this point
Copy the full SHA 859079fView commit details -
sess: add
create_{err,warning}
Currently, the only API for creating errors from a diagnostic derive will emit it immediately. This makes it difficult to add subdiagnostics to diagnostics from the derive, so add `create_{err,warning}` functions that return the diagnostic without emitting it. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f413d2 - Browse repository at this point
Copy the full SHA 3f413d2View commit details -
typeck: port "explicit generic args w/ impl trait"
Port the "explicit generic arguments with impl trait" diagnostic to using the diagnostic derive. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for af47257 - Browse repository at this point
Copy the full SHA af47257View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd31ba0 - Browse repository at this point
Copy the full SHA bd31ba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22cc6c3 - Browse repository at this point
Copy the full SHA 22cc6c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d455752 - Browse repository at this point
Copy the full SHA d455752View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5289bbe - Browse repository at this point
Copy the full SHA 5289bbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c7ce84 - Browse repository at this point
Copy the full SHA 5c7ce84View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd6b01f - Browse repository at this point
Copy the full SHA fd6b01fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bfa2eb - Browse repository at this point
Copy the full SHA 3bfa2ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4168fd - Browse repository at this point
Copy the full SHA c4168fdView commit details
Commits on May 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a8ede12 - Browse repository at this point
Copy the full SHA a8ede12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59d5c20 - Browse repository at this point
Copy the full SHA 59d5c20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c1d241 - Browse repository at this point
Copy the full SHA 7c1d241View commit details -
Rollup merge of rust-lang#96581 - RalfJung:debug-size-align, r=oli-obk
make Size and Align debug-printing a bit more compact In particular in `{:#?}`-mode, these take up a lot of space, so I think this is the better alternative (even though it is a bit longer in `{:?}` mode, I think it is still more readable). We could make it even smaller by deviating further from what the actual code looks like, e.g. via something like `Size(4 bytes)`. Not sure what people would think about that? Cc `````@oli-obk`````
Configuration menu - View commit details
-
Copy full SHA for c29f857 - Browse repository at this point
Copy the full SHA c29f857View commit details -
Rollup merge of rust-lang#96636 - GuillaumeGomez:fix-jump-to-def-regr…
…ession, r=notriddle Fix jump to def regression rust-lang#93803 introduced a regression in the "jump to def" feature. This fixes it. Nice side-effect: it adds a new regression test. :) I also used this opportunity to add documentation about this unstable feature in the rustdoc book. cc ``@cjgillot`` r? ``@notriddle``
Configuration menu - View commit details
-
Copy full SHA for 3346d11 - Browse repository at this point
Copy the full SHA 3346d11View commit details -
Rollup merge of rust-lang#96760 - davidtwco:diagnostic-translation-ve…
…c, r=oli-obk diagnostics: port more diagnostics to derive + add support for `Vec` fields - Port "unconstrained opaque type" diagnostic to using the derive. - Allow `Vec` fields in diagnostic derive - enables support for diagnostics that have multiple primary spans, or have subdiagnostics repeated at multiple locations. `Vec<..>` fields in the diagnostic derive become loops in the generated code. - Add `create_{err,warning}` - there wasn't a way to create a diagnostic from a struct and not emit it straight away. - Port "explicit generic args w/ impl trait" diagnostic to using the derive. r? `````@oli-obk````` cc `````@pvdrz`````
Configuration menu - View commit details
-
Copy full SHA for a644197 - Browse repository at this point
Copy the full SHA a644197View commit details -
Rollup merge of rust-lang#96788 - JakobDegen:checked-binop, r=oli-obk
Improve validator around field projections and checked bin ops The two commits are unrelated. In both cases, these rules were already documented in MIR docs.
Configuration menu - View commit details
-
Copy full SHA for 27a2bae - Browse repository at this point
Copy the full SHA 27a2baeView commit details -
Rollup merge of rust-lang#96805 - Folyd:eslint, r=GuillaumeGomez
Change eslint rules from configuration comments to configuration file Repeatedly declaring eslint rules in source files is an annoying thing, we should move those rules into the eslint configuration file. r? ``@GuillaumeGomez``
Configuration menu - View commit details
-
Copy full SHA for f98f92f - Browse repository at this point
Copy the full SHA f98f92fView commit details -
Rollup merge of rust-lang#96807 - RalfJung:miri, r=RalfJung
update Miri Fixes rust-lang#96773 r? ``@ghost``
Configuration menu - View commit details
-
Copy full SHA for af2f944 - Browse repository at this point
Copy the full SHA af2f944View commit details -
Rollup merge of rust-lang#96811 - createyourpersonalaccount:doc-typof…
…ix, r=JohnTitor Fix a minor typo in the description of Formatter
Configuration menu - View commit details
-
Copy full SHA for c6007d6 - Browse repository at this point
Copy the full SHA c6007d6View commit details