-
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 11 pull requests #104738
Rollup of 11 pull requests #104738
Commits on Nov 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aef3d93 - Browse repository at this point
Copy the full SHA aef3d93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83701f5 - Browse repository at this point
Copy the full SHA 83701f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23422a8 - Browse repository at this point
Copy the full SHA 23422a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9864a63 - Browse repository at this point
Copy the full SHA 9864a63View commit details
Commits on Nov 19, 2022
-
Refactor
must_use
lint into two partsBefore, the lint did the checking for `must_use` and pretty printing the types in a special format in one pass, causing quite complex and untranslatable code. Now the collection and printing is split in two. That should also make it easier to translate or extract the type pretty printing in the future. Also fixes an integer overflow in the array length pluralization calculation.
Configuration menu - View commit details
-
Copy full SHA for 4e9ceef - Browse repository at this point
Copy the full SHA 4e9ceefView commit details
Commits on Nov 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 644a5a3 - Browse repository at this point
Copy the full SHA 644a5a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f5addd - Browse repository at this point
Copy the full SHA 7f5adddView commit details
Commits on Nov 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1a69666 - Browse repository at this point
Copy the full SHA 1a69666View commit details -
Allow opaque types in trait impl headers and rely on coherence to rej…
…ect unsound cases
Configuration menu - View commit details
-
Copy full SHA for 2752e32 - Browse repository at this point
Copy the full SHA 2752e32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94fe30f - Browse repository at this point
Copy the full SHA 94fe30fView commit details -
Add an always-ambiguous predicate to make sure that we don't accident…
…lally allow trait resolution to prove false things during coherence
Configuration menu - View commit details
-
Copy full SHA for ae80c76 - Browse repository at this point
Copy the full SHA ae80c76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cd44f8 - Browse repository at this point
Copy the full SHA 9cd44f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a8e1ee - Browse repository at this point
Copy the full SHA 9a8e1eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f42e490 - Browse repository at this point
Copy the full SHA f42e490View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11ae334 - Browse repository at this point
Copy the full SHA 11ae334View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7301cd7 - Browse repository at this point
Copy the full SHA 7301cd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11adf03 - Browse repository at this point
Copy the full SHA 11adf03View commit details -
Configuration menu - View commit details
-
Copy full SHA for c16a90f - Browse repository at this point
Copy the full SHA c16a90fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98cb7c8 - Browse repository at this point
Copy the full SHA 98cb7c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fface0c - Browse repository at this point
Copy the full SHA fface0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cca960d - Browse repository at this point
Copy the full SHA cca960dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 242dd83 - Browse repository at this point
Copy the full SHA 242dd83View commit details -
Configuration menu - View commit details
-
Copy full SHA for e88009b - Browse repository at this point
Copy the full SHA e88009bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0994f8d - Browse repository at this point
Copy the full SHA 0994f8dView commit details -
Do not suggest `.clone()` as we already suggest borrowing the iterated value.
Configuration menu - View commit details
-
Copy full SHA for 4918d4f - Browse repository at this point
Copy the full SHA 4918d4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33a6dc9 - Browse repository at this point
Copy the full SHA 33a6dc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f77be4 - Browse repository at this point
Copy the full SHA 6f77be4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a930d44 - Browse repository at this point
Copy the full SHA a930d44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bf1413 - Browse repository at this point
Copy the full SHA 5bf1413View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95a5beb - Browse repository at this point
Copy the full SHA 95a5bebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2698d24 - Browse repository at this point
Copy the full SHA 2698d24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a39012 - Browse repository at this point
Copy the full SHA 9a39012View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cc4fb5 - Browse repository at this point
Copy the full SHA 7cc4fb5View commit details
Commits on Nov 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3099dfd - Browse repository at this point
Copy the full SHA 3099dfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d5d692 - Browse repository at this point
Copy the full SHA 2d5d692View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04610ad - Browse repository at this point
Copy the full SHA 04610adView commit details -
Configuration menu - View commit details
-
Copy full SHA for b80356a - Browse repository at this point
Copy the full SHA b80356aView commit details -
mejrs committed
Nov 22, 2022 Configuration menu - View commit details
-
Copy full SHA for f2830f2 - Browse repository at this point
Copy the full SHA f2830f2View commit details -
Rollup merge of rust-lang#101368 - thomcc:wintls-noinline, r=ChrisDenton
Forbid inlining `thread_local!`'s `__getit` function on Windows Sadly, this will make things slower to avoid UB in an edge case, but it seems hard to avoid... and really whenever I look at this code I can't help but think we're asking for trouble. It's pretty dodgy for us to leave this as a normal function rather than `#[inline(never)]`, given that if it *does* get inlined into a dynamically linked component, it's extremely unsafe (you get some other thread local, or if you're lucky, crash). Given that it's pretty rare for people to use dylibs on Windows, the fact that we haven't gotten bug reports about it isn't really that convincing. Ideally we'd come up with some kind of compiler solution (that avoids paying for this cost when static linking, or *at least* for use within the same crate...), but it's not clear what that looks like. Oh, and because all this is only needed when we're implementing `thread_local!` with `#[thread_local]`, this patch adjusts the `cfg_attr` to be `all(windows, target_thread_local)` as well. r? `@ChrisDenton` See also rust-lang#84933, which is about improving the situation.
Configuration menu - View commit details
-
Copy full SHA for 90e8b94 - Browse repository at this point
Copy the full SHA 90e8b94View commit details -
Rollup merge of rust-lang#102293 - ecnelises:aix.initial, r=davidtwco
Add powerpc64-ibm-aix as Tier-3 target This is part of the effort mentioned in rust-lang/compiler-team#553. A reference to these options are definitions from [clang](https://github.com/llvm/llvm-project/blob/ad6fe32032a6229e0c40510e9bed419a01c695b3/clang/lib/Basic/Targets/PPC.h#L414-L448) and [llvm](https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp). AIX has a system `ld` but [its options and behaviors](https://www.ibm.com/docs/en/aix/7.3?topic=l-ld-command) are different from GNU ld. Thanks to `@bzEq` for contributing the linking args.
Configuration menu - View commit details
-
Copy full SHA for ab6f755 - Browse repository at this point
Copy the full SHA ab6f755View commit details -
Rollup merge of rust-lang#103488 - oli-obk:impl_trait_for_tait, r=lcnr
Allow opaque types in trait impl headers and rely on coherence to reject unsound cases r? `@lcnr` fixes rust-lang#99840
Configuration menu - View commit details
-
Copy full SHA for 43eb708 - Browse repository at this point
Copy the full SHA 43eb708View commit details -
Rollup merge of rust-lang#103908 - estebank:consider-cloning, r=compi…
…ler-errors Suggest `.clone()` or `ref binding` on E0382
Configuration menu - View commit details
-
Copy full SHA for b3a2eea - Browse repository at this point
Copy the full SHA b3a2eeaView commit details -
Rollup merge of rust-lang#104359 - Nilstrieb:plus-one, r=fee1-dead
Refactor must_use lint into two parts Before, the lint did the checking for `must_use` and pretty printing the types in a special format in one pass, causing quite complex and untranslatable code. Now the collection and printing is split in two. That should also make it easier to translate or extract the type pretty printing in the future. Also fixes an integer overflow in the array length pluralization calculation. fixes rust-lang#104352
Configuration menu - View commit details
-
Copy full SHA for 1e12a3a - Browse repository at this point
Copy the full SHA 1e12a3aView commit details -
Rollup merge of rust-lang#104509 - spastorino:use-obligation-ctxt, r=…
…lcnr Use obligation ctxt instead of dyn TraitEngine r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for bbe1843 - Browse repository at this point
Copy the full SHA bbe1843View commit details -
Rollup merge of rust-lang#104647 - RalfJung:alloc-strict-provenance, …
…r=thomcc enable fuzzy_provenance_casts lint in liballoc and libstd r? `@thomcc`
Configuration menu - View commit details
-
Copy full SHA for 7c56974 - Browse repository at this point
Copy the full SHA 7c56974View commit details -
Rollup merge of rust-lang#104717 - GuillaumeGomez:test-projection-use…
…d-as-const-generic, r=oli-obk Add failing test for projections used as const generic Based on the experiment done in rust-lang#104443, we realized it's currently not possible to support projections in const generics. More information about it in rust-lang#104443 (comment). This PR adds the UI test in any case so we can gather data in order to work towards adding `TyAlias` into the ABI in the future. r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for e105d05 - Browse repository at this point
Copy the full SHA e105d05View commit details -
Rollup merge of rust-lang#104722 - mejrs:stress, r=ChrisDenton
Speed up mpsc_stress test See https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/mpsc_stress for context r? windows
Configuration menu - View commit details
-
Copy full SHA for 60a07e1 - Browse repository at this point
Copy the full SHA 60a07e1View commit details -
Rollup merge of rust-lang#104724 - WaffleLapkin:to_def_idn't, r=compi…
…ler-errors Fix `ClosureKind::to_def_id` `Fn` and `FnOnce` were mixed up in rust-lang#99131.
Configuration menu - View commit details
-
Copy full SHA for 2078dbd - Browse repository at this point
Copy the full SHA 2078dbdView commit details -
Rollup merge of rust-lang#104728 - WaffleLapkin:require-lang-items-po…
…litely, r=compiler-errors Use `tcx.require_lang_item` instead of unwrapping lang items I clearly remember esteban telling me that there is `require_lang_item` but he was from a phone atm and I couldn't find it, so I didn't use it. Stumbled on it today, so here we are :)
Configuration menu - View commit details
-
Copy full SHA for 0c626d4 - Browse repository at this point
Copy the full SHA 0c626d4View commit details