-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 #70040
Rollup of 7 pull requests #70040
Commits on Mar 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8de1ec9 - Browse repository at this point
Copy the full SHA 8de1ec9View commit details
Commits on Mar 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3ba89e8 - Browse repository at this point
Copy the full SHA 3ba89e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for db75b6a - Browse repository at this point
Copy the full SHA db75b6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f1ca87 - Browse repository at this point
Copy the full SHA 1f1ca87View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9cc010 - Browse repository at this point
Copy the full SHA a9cc010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33600e4 - Browse repository at this point
Copy the full SHA 33600e4View commit details -
Write backtrace fmt test using relative paths
For some reason the absolute paths were formatted differently on the armhf-gnu target. thread '<unnamed>' panicked at 'assertion failed: `(left == right)` left: `"Backtrace [\n { fn: \"__rust_maybe_catch_panic\" },\n { fn: \"std::rt::lang_start_internal\", file: \"./rust/rt.rs\", line: 300 },\n { fn: \"std::rt::lang_start\", file: \"./rust/rt.rs\", line: 400 },\n]"`, right: `"Backtrace [\n { fn: \"__rust_maybe_catch_panic\" },\n { fn: \"std::rt::lang_start_internal\", file: \"/rust/rt.rs\", line: 300 },\n { fn: \"std::rt::lang_start\", file: \"/rust/rt.rs\", line: 400 },\n]"`', src/libstd/backtrace.rs:486:5
Configuration menu - View commit details
-
Copy full SHA for a2364dc - Browse repository at this point
Copy the full SHA a2364dcView commit details -
Add long error explanation for E0628 rust-lang#61137
Ayush Kumar Mishra committedMar 9, 2020 Configuration menu - View commit details
-
Copy full SHA for 7b75c34 - Browse repository at this point
Copy the full SHA 7b75c34View commit details
Commits on Mar 13, 2020
-
Update src/librustc_error_codes/error_codes/E0628.md
Co-Authored-By: Dylan DPC <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1305ae6 - Browse repository at this point
Copy the full SHA 1305ae6View commit details -
Update src/librustc_error_codes/error_codes/E0628.md
Co-Authored-By: Dylan DPC <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f7fcb58 - Browse repository at this point
Copy the full SHA f7fcb58View commit details -
Ayush Kumar Mishra committed
Mar 13, 2020 Configuration menu - View commit details
-
Copy full SHA for 00c6abe - Browse repository at this point
Copy the full SHA 00c6abeView commit details -
Ayush Kumar Mishra committed
Mar 13, 2020 Configuration menu - View commit details
-
Copy full SHA for c33c88b - Browse repository at this point
Copy the full SHA c33c88bView commit details
Commits on Mar 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6f75d3f - Browse repository at this point
Copy the full SHA 6f75d3fView commit details
Commits on Mar 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 65bf483 - Browse repository at this point
Copy the full SHA 65bf483View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fbb254 - Browse repository at this point
Copy the full SHA 3fbb254View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c9a38f - Browse repository at this point
Copy the full SHA 8c9a38fView commit details -
hygiene:
modern
->normalize_to_macros_2_0
`modern_and_legacy` -> `normalize_to_macro_rules`
Configuration menu - View commit details
-
Copy full SHA for db638bd - Browse repository at this point
Copy the full SHA db638bdView commit details
Commits on Mar 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7bd8ce2 - Browse repository at this point
Copy the full SHA 7bd8ce2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3c15ae - Browse repository at this point
Copy the full SHA e3c15aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b92e86 - Browse repository at this point
Copy the full SHA 1b92e86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c2d41d - Browse repository at this point
Copy the full SHA 2c2d41dView commit details -
Rollup merge of rust-lang#67335 - ecstatic-morse:qualif-refactor, r=e…
…ddyb Refactor the `Qualif` trait This PR attempts to preserve the existing semantics of the `Qualif` trait while reducing its API to two significant methods with descriptive names, `in_any_value_of_ty` and `in_adt_inherently`. The other `in_*` methods have been made into free functions, since they should never be overloaded. Finally, I changed the bounds on the `in_local` argument to be less restrictive (`FnMut` instead of `Fn`), which addresses a FIXME in the const-checker. r? @eddyb cc @pnkfelix @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 59b0058 - Browse repository at this point
Copy the full SHA 59b0058View commit details -
Rollup merge of rust-lang#69122 - dtolnay:backtrace, r=cramertj
Backtrace Debug tweaks - Change Debug representation of disabled and unsupported backtraces to use \<placeholder\> style, same as what we do for debug printing locked mutexes and mutably borrowed refcells; ```diff - Error { msg: "...", backtrace: disabled backtrace } + Error { msg: "...", backtrace: <disabled> } ``` - Remove quotes around unresolved symbol names; ```diff - Backtrace [{ fn: "<unknown>" }] + Backtrace [{ fn: <unknown> }] ``` - Add quotes around file paths; ```diff - Backtrace [{ fn: "krate::main", file: /path/to/main.rs, line: 10 }] + Backtrace [{ fn: "krate::main", file: "/path/to/main.rs", line: 10 }] ``` - Add test.
Configuration menu - View commit details
-
Copy full SHA for 2443eb4 - Browse repository at this point
Copy the full SHA 2443eb4View commit details -
Rollup merge of rust-lang#69520 - kornelski:e69492, r=cramertj
Make error message clearer about creating new module This is a partial improvement for rust-lang#69492
Configuration menu - View commit details
-
Copy full SHA for 1685264 - Browse repository at this point
Copy the full SHA 1685264View commit details -
Rollup merge of rust-lang#69738 - mark-i-m:assoc-fn-2, r=eddyb
More Method -> AssocFn renaming r? @Centril @eddyb cc rust-lang#60163 Blocked on rust-lang#69674
Configuration menu - View commit details
-
Copy full SHA for 0d7c82e - Browse repository at this point
Copy the full SHA 0d7c82eView commit details -
Rollup merge of rust-lang#69867 - ayushmishra2005:doc/61137-add-long-…
…error-code-e0628, r=Dylan-DPC Add long error explanation for E0628 Add long explanation for the E0628 error code Part of rust-lang#61137 r? @GuillaumeGomez
Configuration menu - View commit details
-
Copy full SHA for 8f2482b - Browse repository at this point
Copy the full SHA 8f2482bView commit details -
Rollup merge of rust-lang#69989 - petrochenkov:nolegacy, r=eddyb,matt…
…hewjasper resolve/hygiene: `macro_rules` are not "legacy" The "modern" vs "legacy" naming was introduced by jseyfried during initial implementation of macros 2.0. At this point it's clear that `macro_rules` are not going anywhere and won't be deprecated in the near future. So this PR changes the naming "legacy" (when it implies "macro_rules") to "macro_rules". This should also help people reading this code because it's wasn't obvious that "legacy" actually meant "macro_rules" in these contexts. The most contentious renaming here is probably ``` fn modern -> fn normalize_to_macros_2_0 fn modern_and_legacy -> fn normalize_to_macro_rules ``` Other alternatives that I could think of are `normalize_to_opaque`/`normalize_to_semitransparent`, or `strip_non_opaque`/`strip_transparent`, but they seemed less intuitive. The documentation to these functions can be found in `symbol.rs`. r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for 8872d90 - Browse repository at this point
Copy the full SHA 8872d90View commit details -
Rollup merge of rust-lang#70036 - mark-i-m:describe-it-4, r=eddyb
Make article_and_description primarily use def_kind r? @eddyb cc @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for d8dbb3c - Browse repository at this point
Copy the full SHA d8dbb3cView commit details