-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 #73599
Rollup of 11 pull requests #73599
Commits on Jun 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1d08b1b - Browse repository at this point
Copy the full SHA 1d08b1bView commit details
Commits on Jun 20, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0624a5a - Browse repository at this point
Copy the full SHA 0624a5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc60282 - Browse repository at this point
Copy the full SHA fc60282View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4896a06 - Browse repository at this point
Copy the full SHA 4896a06View commit details
Commits on Jun 21, 2020
-
This commit fixes typos in the doc comments of 'librustc_mir/monomorphize/collector.rs'
Configuration menu - View commit details
-
Copy full SHA for 6374054 - Browse repository at this point
Copy the full SHA 6374054View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3d735d - Browse repository at this point
Copy the full SHA e3d735dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c74ab4 - Browse repository at this point
Copy the full SHA 1c74ab4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 467415d - Browse repository at this point
Copy the full SHA 467415dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a657be4 - Browse repository at this point
Copy the full SHA a657be4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 726b6f4 - Browse repository at this point
Copy the full SHA 726b6f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c14d85f - Browse repository at this point
Copy the full SHA c14d85fView commit details -
Update src/librustc_mir/monomorphize/collector.rs
typo fix Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 893077c - Browse repository at this point
Copy the full SHA 893077cView commit details -
Prefer accessible paths in 'use' suggestions
This fixes an issue with the following sample: mod foo { mod inaccessible { pub struct X; } pub mod avail { pub struct X; } } fn main() { X; } Instead of suggesting both `use crate::foo::inaccessible::X;` and `use crate::foo::avail::X;`, it should only suggest the latter. It is done by trimming the list of suggestions from inaccessible paths if accessible paths are present. Visibility is checked with `is_accessible_from` now instead of being hard-coded. - Some tests fixes are trivial, and others require a bit more explaining, here are my comments: src/test/ui/issues/issue-35675.stderr: Only needs to make the enum public to have the suggestion make sense. src/test/ui/issues/issue-42944.stderr: Importing the tuple struct won't help because its constructor is not visible, so the attempted constructor does not work. In that case, it's better not to suggest it. The case where the constructor is public is covered in `issue-26545.rs`.
Configuration menu - View commit details
-
Copy full SHA for fea5ab1 - Browse repository at this point
Copy the full SHA fea5ab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20866c5 - Browse repository at this point
Copy the full SHA 20866c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2959352 - Browse repository at this point
Copy the full SHA 2959352View commit details -
Rollup merge of rust-lang#71660 - sollyucko:master, r=dtolnay
impl PartialEq<Vec<B>> for &[A], &mut [A] rust-lang/rfcs#2917
Configuration menu - View commit details
-
Copy full SHA for c062ce5 - Browse repository at this point
Copy the full SHA c062ce5View commit details -
Rollup merge of rust-lang#72271 - rakshith-ravi:master, r=varkor
Improve compiler error message for wrong generic parameter order - Added optional "help" parameter that shows a help message on the compiler error if required. - Added a simple ordered parameter as a sample help. @varkor will make more changes as required. Let me know if I'm heading in the right direction. Fixes rust-lang#68437 r? @varkor
Configuration menu - View commit details
-
Copy full SHA for 103b0e3 - Browse repository at this point
Copy the full SHA 103b0e3View commit details -
Rollup merge of rust-lang#72623 - da-x:use-suggest-public-path, r=pet…
…rochenkov Prefer accessible paths in 'use' suggestions This PR addresses issue rust-lang#26454, where `use` suggestions are made for paths that don't work. For example: ```rust mod foo { mod bar { struct X; } } fn main() { X; } // suggests `use foo::bar::X;` ```
Configuration menu - View commit details
-
Copy full SHA for fcea8a1 - Browse repository at this point
Copy the full SHA fcea8a1View commit details -
Rollup merge of rust-lang#73472 - GuillaumeGomez:cleanup-e0689, r=Dyl…
…an-DPC Clean up E0689 explanation r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for c1ca2d6 - Browse repository at this point
Copy the full SHA c1ca2d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f687b9 - Browse repository at this point
Copy the full SHA 7f687b9View commit details -
Rollup merge of rust-lang#73572 - JOE1994:patch-4, r=jonas-schievink
Fix typos in doc comments Hello 🦀 , This commit fixes typos in the doc comments of 'librustc_mir/monomorphize/collector.rs' Thank you for reviewing this PR 👍
Configuration menu - View commit details
-
Copy full SHA for e78a0b3 - Browse repository at this point
Copy the full SHA e78a0b3View commit details -
Rollup merge of rust-lang#73575 - dario23:typo-errorcodes-doc, r=matt…
…hewjasper Fix typo in error_codes doc
Configuration menu - View commit details
-
Copy full SHA for fd4558e - Browse repository at this point
Copy the full SHA fd4558eView commit details -
Rollup merge of rust-lang#73578 - RalfJung:ty-ctxt-at, r=jonas-schievink
Make is_freeze and is_copy_modulo_regions take TyCtxtAt Make is_freeze and is_copy_modulo_regions take TyCtxtAt instead of separately taking TyCtxt and Span. This is consistent with is_sized.
Configuration menu - View commit details
-
Copy full SHA for cd7cc60 - Browse repository at this point
Copy the full SHA cd7cc60View commit details -
Rollup merge of rust-lang#73580 - RalfJung:deprecate-wrapping-offset-…
…from, r=Amanieu deprecate wrapping_offset_from As per rust-lang#41079 (comment) which seems like a consensus. r? @Amanieu
Configuration menu - View commit details
-
Copy full SHA for 8db431e - Browse repository at this point
Copy the full SHA 8db431eView commit details -
Rollup merge of rust-lang#73582 - RalfJung:miri-span-bug, r=oli-obk
Miri: replace many bug! by span_bug! r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 02efde0 - Browse repository at this point
Copy the full SHA 02efde0View commit details -
Rollup merge of rust-lang#73594 - Aaron1011:revert/move-fn-self-msg, …
…r=petrochenkov Revert PR rust-lang#72389 - "Explain move errors that occur due to method calls involving `self" r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for 8cabd20 - Browse repository at this point
Copy the full SHA 8cabd20View commit details