-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 #92059
Rollup of 7 pull requests #92059
Commits on Dec 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 646f58a - Browse repository at this point
Copy the full SHA 646f58aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95fb9ee - Browse repository at this point
Copy the full SHA 95fb9eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6152b1d - Browse repository at this point
Copy the full SHA 6152b1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3a6d4b - Browse repository at this point
Copy the full SHA d3a6d4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 748e95b - Browse repository at this point
Copy the full SHA 748e95bView commit details
Commits on Dec 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6fcbc3a - Browse repository at this point
Copy the full SHA 6fcbc3aView commit details
Commits on Dec 12, 2021
-
Show the unused type for
unused_results
lintI think it's helpful to know what type was unused when looking at these warnings. The type will likely determine whether the result *should* be used, or whether it should just be ignored. Including the type also matches the behavior of the `must_use` lint: unused `SomeType` that must be used.
Configuration menu - View commit details
-
Copy full SHA for f53e489 - Browse repository at this point
Copy the full SHA f53e489View commit details
Commits on Dec 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b88a612 - Browse repository at this point
Copy the full SHA b88a612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cf96e7 - Browse repository at this point
Copy the full SHA 5cf96e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bc8577 - Browse repository at this point
Copy the full SHA 7bc8577View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c99500 - Browse repository at this point
Copy the full SHA 5c99500View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0806b2 - Browse repository at this point
Copy the full SHA b0806b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for be33ca7 - Browse repository at this point
Copy the full SHA be33ca7View commit details
Commits on Dec 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d48dbdc - Browse repository at this point
Copy the full SHA d48dbdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd47d24 - Browse repository at this point
Copy the full SHA fd47d24View commit details
Commits on Dec 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 78a8e00 - Browse repository at this point
Copy the full SHA 78a8e00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b5f63c - Browse repository at this point
Copy the full SHA 6b5f63cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f555de - Browse repository at this point
Copy the full SHA 2f555deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 493cf0c - Browse repository at this point
Copy the full SHA 493cf0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f141bed - Browse repository at this point
Copy the full SHA f141bedView commit details
Commits on Dec 18, 2021
-
Rollup merge of rust-lang#87901 - poliorcetics:pub-pub-pub, r=jackh726
Fix suggestion of additional `pub` when using `pub pub fn ...` Fix rust-lang#87694. Marked as draft to start with because I want to explore doing the same fix for `const const fn` and other repeated-but-valid keywords. `@rustbot` label A-diagnostics D-invalid-suggestion T-compiler
Configuration menu - View commit details
-
Copy full SHA for 54e7946 - Browse repository at this point
Copy the full SHA 54e7946View commit details -
Rollup merge of rust-lang#89090 - cjgillot:bare-dyn, r=jackh726
Lint bare traits in AstConv. Removing the lint from lowering allows to: - make lowering querification easier; - have the lint implementation in only one place. r? `@estebank`
Configuration menu - View commit details
-
Copy full SHA for 7a626cf - Browse repository at this point
Copy the full SHA 7a626cfView commit details -
Rollup merge of rust-lang#91818 - camelid:unused-result-type, r=jackh726
Show the unused type for `unused_results` lint I think it's helpful to know what type was unused when looking at these warnings. The type will likely determine whether the result *should* be used, or whether it should just be ignored. Including the type also matches the behavior of the `must_use` lint: unused `SomeType` that must be used.
Configuration menu - View commit details
-
Copy full SHA for 24b75e7 - Browse repository at this point
Copy the full SHA 24b75e7View commit details -
Rollup merge of rust-lang#91910 - tmiasko:miri-extern-type, r=RalfJung
miri: lift restriction on extern types being the only field in a struct Fixes rust-lang#91827. r? ````@RalfJung````
Configuration menu - View commit details
-
Copy full SHA for 64ce698 - Browse repository at this point
Copy the full SHA 64ce698View commit details -
Rollup merge of rust-lang#91928 - fee1-dead:constification1, r=oli-obk
Constify (most) `Option` methods r? ``@oli-obk``
Configuration menu - View commit details
-
Copy full SHA for fcc5979 - Browse repository at this point
Copy the full SHA fcc5979View commit details -
Rollup merge of rust-lang#91975 - cjgillot:noinline-generator, r=jack…
…h726 Move generator check earlier in inlining. Inlining into generator may create references to other generators. For instance, inlining `Pin::<&mut from_generator::GenFuture<[generator1]>>::new_unchecked` into `generator2`. This cross reference can then create cycles when computing inlining for `generator1`. In order to avoid this kind of surprises, we forbid all inlining into generators, and rely on LLVM to do the right thing. The existing `remove-zst-query-cycle` already ICEs in inline-mir mode, so we use it as test. Split from rust-lang#91743.
Configuration menu - View commit details
-
Copy full SHA for 816cda7 - Browse repository at this point
Copy the full SHA 816cda7View commit details -
Rollup merge of rust-lang#92016 - calebcartwright:expose-asm-args-par…
…sing, r=Amanieu builtin_macros: allow external consumers for AsmArgs parsing As discussed in Zulip (https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/parsing.20of.20AsmArgs.20for.20inline.20assembly), we need a function entry point that rustfmt can leverage from a pre-expansion context to get a more structured representation of the asm args without having to duplicate/maintain the token stream parsing r? ```@Amanieu``` and/or ```@joshtriplett```
Configuration menu - View commit details
-
Copy full SHA for fd445dd - Browse repository at this point
Copy the full SHA fd445ddView commit details