-
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 10 pull requests #54767
Rollup of 10 pull requests #54767
Commits on Sep 22, 2018
-
Allow both explicit and elided lifetimes in the same impl header
(While still prohibiting explicit and in-band in the same header.)
Configuration menu - View commit details
-
Copy full SHA for 003c4ff - Browse repository at this point
Copy the full SHA 003c4ffView commit details
Commits on Sep 28, 2018
-
Bring in a few updates and fixes, mostly a standard update.
Configuration menu - View commit details
-
Copy full SHA for d99e7c2 - Browse repository at this point
Copy the full SHA d99e7c2View commit details
Commits on Sep 30, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0a3bd9b - Browse repository at this point
Copy the full SHA 0a3bd9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d6bee3 - Browse repository at this point
Copy the full SHA 8d6bee3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4840da - Browse repository at this point
Copy the full SHA d4840daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b22bef - Browse repository at this point
Copy the full SHA 1b22befView commit details -
Re-export
getopts
so custom drivers can reference it.Otherwise, custom drivers will have to use their own copy of `getopts`, which won't match the types used in `CompilerCalls`.
Configuration menu - View commit details
-
Copy full SHA for 0b76a97 - Browse repository at this point
Copy the full SHA 0b76a97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1397836 - Browse repository at this point
Copy the full SHA 1397836View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cbfc93 - Browse repository at this point
Copy the full SHA 4cbfc93View commit details
Commits on Oct 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b871293 - Browse repository at this point
Copy the full SHA b871293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ced475 - Browse repository at this point
Copy the full SHA 3ced475View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7662523 - Browse repository at this point
Copy the full SHA 7662523View commit details -
Configuration menu - View commit details
-
Copy full SHA for 526ca7c - Browse repository at this point
Copy the full SHA 526ca7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6152144 - Browse repository at this point
Copy the full SHA 6152144View commit details -
Add
crate::
to trait suggestions in Rust 2018.In the 2018 edition, when suggesting traits to import that implement a given method that is being invoked, suggestions will now include the `crate::` prefix if the suggested trait is local to the current crate.
Configuration menu - View commit details
-
Copy full SHA for 9e2d6e1 - Browse repository at this point
Copy the full SHA 9e2d6e1View commit details -
Move prelude crate names into
Session
.Avoid hardcoding and special-casing the `std` crate name in the item path logic by moving the prelude crate name logic into the `Session` type so it can be reused in the item path logic and resolve module.
Configuration menu - View commit details
-
Copy full SHA for 4cbd397 - Browse repository at this point
Copy the full SHA 4cbd397View commit details -
Attempt to resolve linking issues.
This commit takes a different approach to add the `crate::` prefix to item paths than previous commits. Previously, recursion was stopped after a prelude crate name was pushed to the path. It is theorized that this was the cause of the linking issues since the same path logic is used for symbol names and that not recursing meant that details were being missed that affect symbol names. As of this commit, instead of ceasing recursion, a flag is passed through to any subsequent recursive calls so that the same effect can be achieved by checking that flag.
Configuration menu - View commit details
-
Copy full SHA for 02357e4 - Browse repository at this point
Copy the full SHA 02357e4View commit details
Commits on Oct 2, 2018
-
Consolidate pattern check errors
we are consolidating `cannot bind by-move and by-ref in the same pattern` message present on the different lines into single diagnostic message. To do this, we are first gathering those spans into the vector after that we are throwing them with the help of MultiSpan in a separate block. Addresses: rust-lang#53840
Configuration menu - View commit details
-
Copy full SHA for e536e64 - Browse repository at this point
Copy the full SHA e536e64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 454b14a - Browse repository at this point
Copy the full SHA 454b14aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 092bf2b - Browse repository at this point
Copy the full SHA 092bf2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0caaec - Browse repository at this point
Copy the full SHA e0caaecView commit details -
Rollup merge of rust-lang#54269 - PramodBisht:issue/53840, r=estebank
rust-lang#53840: Consolidate pattern check errors rust-lang#53840 on this PR we are aggregating `cannot bind by-move and by-ref in the same pattern` message present on the different lines into one diagnostic message. Here we are first gathering those `spans` on `vector` then we are throwing them with the help of `MultiSpan` r? @estebank Addresses: rust-lang#53480
Configuration menu - View commit details
-
Copy full SHA for 49d4359 - Browse repository at this point
Copy the full SHA 49d4359View commit details -
Rollup merge of rust-lang#54458 - scottmcm:bug-54456, r=nikomatsakis
Allow both explicit and elided lifetimes in the same impl header While still prohibiting explicit and in-band in the same header. Fixes rust-lang#54456 As usual, I don't know the broader context of the code I'm changing, so please let me know whatever I can do better. Pre-existing test that mixing explicit and in-band remains an error: https://github.com/rust-lang/rust/blob/master/src/test/ui/in-band-lifetimes/E0688.rs
Configuration menu - View commit details
-
Copy full SHA for ab338ea - Browse repository at this point
Copy the full SHA ab338eaView commit details -
Rollup merge of rust-lang#54603 - davidtwco:issue-54559, r=nikomatsakis
Add `crate::` to trait suggestions in Rust 2018. Fixes rust-lang#54559. In the 2018 edition, when suggesting traits to import that implement a given method that is being invoked, suggestions will now include the `crate::` prefix if the suggested trait is local to the current crate. r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for f70f6ec - Browse repository at this point
Copy the full SHA f70f6ecView commit details -
Rollup merge of rust-lang#54648 - alexcrichton:update-cargo, r=nikoma…
…tsakis Update Cargo's submodule Bring in a few updates and fixes, mostly a standard update.
Configuration menu - View commit details
-
Copy full SHA for 662f85e - Browse repository at this point
Copy the full SHA 662f85eView commit details -
Rollup merge of rust-lang#54680 - RalfJung:compile-pass, r=pnkfelix
make run-pass tests with empty main just compile-pass tests Many run-pass tests have an empty main, so there is not actually any point in running them. This makes them `compile-pass` tests instead, saving some time (generating the binary and then running it). For now I did this only for `run-pass/issues`; if there is interest I can also do it for the other directories. I used `^\s*fn\s+main\(\s*\)\s*\{\s*\}` as regexp to identify these files.
Configuration menu - View commit details
-
Copy full SHA for 32c1454 - Browse repository at this point
Copy the full SHA 32c1454View commit details -
Rollup merge of rust-lang#54687 - scottmcm:more-elision, r=dtolnay
Use impl_header_lifetime_elision in libcore The feature is approved for stabilization, so let's use it to remove about 300 `'a`s. Tracking issue for the feature: rust-lang#15872
Configuration menu - View commit details
-
Copy full SHA for 7e571ee - Browse repository at this point
Copy the full SHA 7e571eeView commit details -
Rollup merge of rust-lang#54699 - DiamondLovesYou:reexport-getopts, r…
…=pnkfelix Re-export `getopts` so custom drivers can reference it. Otherwise, custom drivers will have to use their own copy of `getopts`, which won't match the types used in `CompilerCalls`.
Configuration menu - View commit details
-
Copy full SHA for 958f1c5 - Browse repository at this point
Copy the full SHA 958f1c5View commit details -
Rollup merge of rust-lang#54702 - RalfJung:fn-ptr-promotion, r=oli-obk
do not promote comparing function pointers This *could* break existing code that relied on fn ptr comparison getting promoted to `'static` lifetime. Fixes rust-lang#54696
Configuration menu - View commit details
-
Copy full SHA for d9d9663 - Browse repository at this point
Copy the full SHA d9d9663View commit details -
Rollup merge of rust-lang#54728 - alexcrichton:renumber-issues, r=nik…
…omatsakis Renumber `proc_macro` tracking issues Lots of issue links in the compiler still point to rust-lang#38356 which is a bit of a monster issue that isn't serving much purpose any more. I've split the issue into a number of more fine-grained tracking issues to track stabilizations.
Configuration menu - View commit details
-
Copy full SHA for 1826970 - Browse repository at this point
Copy the full SHA 1826970View commit details -
Rollup merge of rust-lang#54745 - abonander:cstr-const, r=oli-obk
make `CStr::from_bytes_with_nul_unchecked()` a const fn closes rust-lang#54678
Configuration menu - View commit details
-
Copy full SHA for 00e4b27 - Browse repository at this point
Copy the full SHA 00e4b27View commit details