-
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 13 pull requests #74569
Rollup of 13 pull requests #74569
Commits on Jun 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 187aea7 - Browse repository at this point
Copy the full SHA 187aea7View commit details
Commits on Jul 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c375692 - Browse repository at this point
Copy the full SHA c375692View commit details
Commits on Jul 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a11024f - Browse repository at this point
Copy the full SHA a11024fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8d16fd - Browse repository at this point
Copy the full SHA e8d16fdView commit details
Commits on Jul 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 174abeb - Browse repository at this point
Copy the full SHA 174abebView commit details -
Configuration menu - View commit details
-
Copy full SHA for dec7076 - Browse repository at this point
Copy the full SHA dec7076View commit details -
Ayu: use different background color to make Run button easy-to-spot
Co-authored-by: Cldfire <cldfire@3grid.net>
Configuration menu - View commit details
-
Copy full SHA for 0eff3d5 - Browse repository at this point
Copy the full SHA 0eff3d5View commit details -
Remove CC & CFLAGS from MemorySanitizer example
They are now unnecessary for projects written in Rust, since backtrace-rs used by the standard library has only Rust dependencies.
Configuration menu - View commit details
-
Copy full SHA for 251878e - Browse repository at this point
Copy the full SHA 251878eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 58b8620 - Browse repository at this point
Copy the full SHA 58b8620View commit details -
disallow non-static lifetimes in const generics
This has been put in place to patch over an ICE caused when we encounter a non-static lifetime in a const generic during borrow checking. This restriction may be relaxed in the future, but we need more discussion before then, and in the meantime we should still deal with this ICE. Fixes issue rust-lang#60814
Configuration menu - View commit details
-
Copy full SHA for 69d5dd6 - Browse repository at this point
Copy the full SHA 69d5dd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c60a035 - Browse repository at this point
Copy the full SHA c60a035View commit details
Commits on Jul 20, 2020
-
wf: check foreign fn decls for well-formedness
This commit extends current well-formedness checking to apply to foreign function declarations, re-using the existing machinery for regular functions. In doing this, later parts of the compiler (such as the `improper_ctypes` lint) can rely on being operations not failing as a result of invalid code which would normally be caught earlier. Signed-off-by: David Wood <david@davidtw.co>
Configuration menu - View commit details
-
Copy full SHA for ceac273 - Browse repository at this point
Copy the full SHA ceac273View commit details -
Fix duplicate maybe_uninit_extra attribute
Jethro Beekman committedJul 20, 2020 Configuration menu - View commit details
-
Copy full SHA for c8cdcc8 - Browse repository at this point
Copy the full SHA c8cdcc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d4147a - Browse repository at this point
Copy the full SHA 5d4147aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 995d63a - Browse repository at this point
Copy the full SHA 995d63aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cbd265 - Browse repository at this point
Copy the full SHA 4cbd265View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5e5eb6 - Browse repository at this point
Copy the full SHA f5e5eb6View commit details -
Rollup merge of rust-lang#72714 - JohnTitor:debug-assert, r=nikomatsakis
Fix debug assertion in typeck Fixes rust-lang#72410
Configuration menu - View commit details
-
Copy full SHA for 105cd49 - Browse repository at this point
Copy the full SHA 105cd49View commit details -
Rollup merge of rust-lang#73197 - c410-f3r:ranges, r=dtolnay
Impl Default for ranges Couldn't find an issue about it. `Range` and friends probably can implement `Default` if `Idx: Default`. For example, the following would be possible: ```rust #[derive(Default)] struct Foo(core::ops::RangeToInclusive<u64>); let _ = [1, 2, 3].get(core::ops::Range::default()); core::ops::RangeFrom::<u8>::default().take(20).for_each(|x| { dbg!(x); }); fn stuff<T: Default>() { let instance = T::default(); ... more stuff } stuff::<core::ops::RangeTo<f32>>(); ``` Maybe there are some concerns about safety or misunderstandings?
Configuration menu - View commit details
-
Copy full SHA for 241374a - Browse repository at this point
Copy the full SHA 241374aView commit details -
Rollup merge of rust-lang#73323 - davidtwco:issue-73252-wfcheck-forei…
…gn-fn-decl, r=ecstatic-morse wf: check foreign fn decls for well-formedness Fixes rust-lang#73252 and fixes rust-lang#73253. This PR extends current well-formedness checking to apply to foreign function declarations, re-using the existing machinery for regular functions. In doing this, later parts of the compiler (such as the `improper_ctypes` lint) can rely on being operations not failing as a result of invalid code which would normally be caught earlier.
Configuration menu - View commit details
-
Copy full SHA for 0897bc2 - Browse repository at this point
Copy the full SHA 0897bc2View commit details -
Rollup merge of rust-lang#74051 - yodaldevoid:issue_60814, r=nikomats…
…akis disallow non-static lifetimes in const generics Disallow non-static lifetimes in const generics in order to to patch over an ICE caused when we encounter a non-static lifetime in a const generic during borrow checking. This restriction may be relaxed in the future, but we need more discussion before then, and in the meantime we should still deal with this ICE. Fixes issue rust-lang#60814
Configuration menu - View commit details
-
Copy full SHA for 991da05 - Browse repository at this point
Copy the full SHA 991da05View commit details -
Rollup merge of rust-lang#74376 - lcnr:type-dependent-path-cleanup, r…
…=eddyb test caching opt_const_param_of on disc Followup to rust-lang#74113, implements parts of rust-lang#74360 Tried caching `opt_const_param_of` on disk and adding an early exit if `tcx.dep_kind(def_id) != DefKind::AnonConst`. Ended up causing a perf regression instead, so we just remove the FIXME and a short note to `opt_const_param_of`. r? @eddyb
Configuration menu - View commit details
-
Copy full SHA for 6a4276d - Browse repository at this point
Copy the full SHA 6a4276dView commit details -
Rollup merge of rust-lang#74501 - lzutao:css_run_border, r=GuillaumeG…
…omez Ayu theme: Use different background color for Run button Make it clearer that there is a button Run there. Demo in rust-lang#74501 (comment) .
Configuration menu - View commit details
-
Copy full SHA for e0fae89 - Browse repository at this point
Copy the full SHA e0fae89View commit details -
Rollup merge of rust-lang#74505 - Cldfire:fix-search-focus, r=Guillau…
…meGomez Fix search input focus in ayu theme Closes rust-lang#74496. Before: ![image](https://user-images.githubusercontent.com/13814214/87868463-d0c8fe80-c963-11ea-9003-aa578d869e98.png) After: ![image](https://user-images.githubusercontent.com/13814214/87868467-dc1c2a00-c963-11ea-89a8-1280f68ff9df.png)
Configuration menu - View commit details
-
Copy full SHA for 6467f6f - Browse repository at this point
Copy the full SHA 6467f6fView commit details -
Rollup merge of rust-lang#74522 - tmiasko:sanitizer-docs, r=nikomatsakis
Update sanitizer docs * Document AddressSanitizer memory leak detection defaults. * Remove CC & CFLAGS from MemorySanitizer example - they are now unnecessary for pure Rust projects (backtrace-rs moved away from libbacktrace).
Configuration menu - View commit details
-
Copy full SHA for 15f8b80 - Browse repository at this point
Copy the full SHA 15f8b80View commit details -
Rollup merge of rust-lang#74546 - jethrogb:jb/duplicate-attribute-may…
…be_uninit_extra, r=kennytm Fix duplicate maybe_uninit_extra attribute Introduced in rust-lang#72414
Configuration menu - View commit details
-
Copy full SHA for b7357c4 - Browse repository at this point
Copy the full SHA b7357c4View commit details -
Rollup merge of rust-lang#74552 - fusion-engineering-forks:stabilize-…
…tau, r=dtolnay Stabilize TAU constant. Closes rust-lang#66770.
Configuration menu - View commit details
-
Copy full SHA for 810d322 - Browse repository at this point
Copy the full SHA 810d322View commit details -
Rollup merge of rust-lang#74555 - GuillaumeGomez:important-traits-pop…
…up, r=Manishearth Improve "important traits" popup display on mobile I implemented what @XAMPPRocky suggested in the [internals thread topic](https://internals.rust-lang.org/t/feedback-on-important-traits-rustdoc-feature/12752/18). I can confirm it works nicely. r? @Manishearth @Manishearth: By the way: I realized that when you click on the "i", you have to click again to make the popup disappear. Do you want me to extend the popup removal to any click outside the popup?
Configuration menu - View commit details
-
Copy full SHA for 963b837 - Browse repository at this point
Copy the full SHA 963b837View commit details -
Rollup merge of rust-lang#74557 - jakubadamw:issue-74539, r=nagisa
Fix an ICE on an invalid `binding @ ...` in a tuple struct pattern Fixes rust-lang#74539.
Configuration menu - View commit details
-
Copy full SHA for 6bbf82d - Browse repository at this point
Copy the full SHA 6bbf82dView commit details -
Rollup merge of rust-lang#74561 - RalfJung:backtrace, r=alexcrichton
update backtrace-rs Hopefully fixes rust-lang#74484 r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for df8d169 - Browse repository at this point
Copy the full SHA df8d169View commit details