-
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 11 pull requests #66485
Rollup of 11 pull requests #66485
Commits on Nov 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6fc18a9 - Browse repository at this point
Copy the full SHA 6fc18a9View commit details
Commits on Nov 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 91aadf0 - Browse repository at this point
Copy the full SHA 91aadf0View commit details
Commits on Nov 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8444e16 - Browse repository at this point
Copy the full SHA 8444e16View commit details -
add missing 'static lifetime in docs
The example refers to a static lifetime parameter that can be elided. This parameter is not included, meaning lifetime elision is not shown.
Configuration menu - View commit details
-
Copy full SHA for e85f40c - Browse repository at this point
Copy the full SHA e85f40cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52d7246 - Browse repository at this point
Copy the full SHA 52d7246View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8ff465 - Browse repository at this point
Copy the full SHA e8ff465View commit details -
Use "field is never read" instead of "field is never used"
cosine committedNov 16, 2019 Configuration menu - View commit details
-
Copy full SHA for bd63c59 - Browse repository at this point
Copy the full SHA bd63c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8575743 - Browse repository at this point
Copy the full SHA 8575743View commit details -
Configuration menu - View commit details
-
Copy full SHA for 266f547 - Browse repository at this point
Copy the full SHA 266f547View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00bc449 - Browse repository at this point
Copy the full SHA 00bc449View commit details -
parse: Support parsing optional literals
Revert weird renaming of the former `LitError::report`
Configuration menu - View commit details
-
Copy full SHA for b85a3da - Browse repository at this point
Copy the full SHA b85a3daView commit details -
Configuration menu - View commit details
-
Copy full SHA for a699f17 - Browse repository at this point
Copy the full SHA a699f17View commit details -
Improve documentation of
Vec::split_off(...)
The previous ordering of the sentences kept switching between the return value and the value of `self` after execution, making it hard to follow. Additionally, as rendered in the browser, the period in "`Self`. `self`" was difficult to make out as being a sentence separator and not one code block.
Configuration menu - View commit details
-
Copy full SHA for 8c7530a - Browse repository at this point
Copy the full SHA 8c7530aView commit details -
Revise the text of
vec::split_off()
per review in rust-lang#65739Remove the incorrect usage of "copy" as the trait is not called.
Configuration menu - View commit details
-
Copy full SHA for a36c3f6 - Browse repository at this point
Copy the full SHA a36c3f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3407c49 - Browse repository at this point
Copy the full SHA 3407c49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11580ce - Browse repository at this point
Copy the full SHA 11580ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28aec1b - Browse repository at this point
Copy the full SHA 28aec1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfe94b4 - Browse repository at this point
Copy the full SHA cfe94b4View commit details
Commits on Nov 17, 2019
-
Rollup merge of rust-lang#65739 - mqudsi:vec_split_off_docs, r=dtolnay
Improve documentation of `Vec::split_off(...)` The previous ordering of the sentences kept switching between the return value and the value of `self` after execution, making it hard to follow. Additionally, as rendered in the browser, the period in "`Self`. `self`" was difficult to make out as being a sentence separator and not one code block.
Configuration menu - View commit details
-
Copy full SHA for d8f2526 - Browse repository at this point
Copy the full SHA d8f2526View commit details -
Rollup merge of rust-lang#66271 - petrochenkov:abism, r=Centril
syntax: Keep string literals in ABIs and `asm!` more precisely As a result we don't lose spans when `extern` functions or blocks are passed to proc macros, and also escape all string literals consistently. Continuation of rust-lang#60679, which did a similar thing with all literals besides those in ABIs and `asm!`. TODO: Add tests. Fixes rust-lang#60493 Fixes rust-lang#64561 r? @Centril
Configuration menu - View commit details
-
Copy full SHA for b83d50d - Browse repository at this point
Copy the full SHA b83d50dView commit details -
Rollup merge of rust-lang#66344 - petrochenkov:noregattr, r=matthewja…
…sper rustc_plugin: Remove `Registry::register_attribute` Legacy plugins cannot register inert attributes anymore. The preferred replacement is to use `register_tool` ([tracking issue](rust-lang#66079)). ```rust #![register_tool(servo)] #[servo::must_root] struct S; ``` The more direct replacement is `register_attribute` ([tracking issue](rust-lang#66080)) ```rust #![register_attr(must_root)] #[must_root] struct S; ``` , but it requires registering each attribute individually rather than registering the tool once, and is more likely to be removed rather than stabilized.
Configuration menu - View commit details
-
Copy full SHA for 54998d1 - Browse repository at this point
Copy the full SHA 54998d1View commit details -
Rollup merge of rust-lang#66381 - Centril:66340, r=petrochenkov
find_deprecation: deprecation attr may be ill-formed meta. Fixes rust-lang#66340. r? @petrochenkov cc @pnkfelix
Configuration menu - View commit details
-
Copy full SHA for 842612f - Browse repository at this point
Copy the full SHA 842612fView commit details -
Rollup merge of rust-lang#66395 - jplatte:centralize-panic-docs, r=Dy…
…lan-DPC Centralize panic macro documentation This is just the main commit from rust-lang#61511 (which got closed because the author didn't reply) cherry-picked on the current master. Building `core` and `std` on this branch in stage 1 succeeded, which I thinks means the issues from the previous PR should be gone (but let's see what CI says).
Configuration menu - View commit details
-
Copy full SHA for 05482d0 - Browse repository at this point
Copy the full SHA 05482d0View commit details -
Rollup merge of rust-lang#66456 - Centril:driver-codes, r=Mark-Simula…
…crum Move `DIAGNOSTICS` usage to `rustc_driver` Remove `rustc_interface`'s dependency on `rustc_error_codes` and centralize all usages of `DIAGNOSTICS` in `rustc_driver`. Once we remove all references to `rustc_error_codes` in all other crates but `rustc_driver`, this should allow for incremental recompilation of the compiler to be smoother when tweaking error codes. This works towards rust-lang#66210 (comment). (May include traces of minor drive-by cleanup.) r? @Mark-Simulacrum
Configuration menu - View commit details
-
Copy full SHA for 6e6c46c - Browse repository at this point
Copy the full SHA 6e6c46cView commit details -
Rollup merge of rust-lang#66465 - mulimoen:fix_lifetime_elision_not_s…
…hown, r=rkruppe add missing 'static lifetime in docs
Configuration menu - View commit details
-
Copy full SHA for 404081f - Browse repository at this point
Copy the full SHA 404081fView commit details -
Rollup merge of rust-lang#66466 - RalfJung:seh, r=oli-obk
miri panic_unwind: fix hack for SEH platforms The old hack didn't work as we ended up duplicating the `eh_personality` lang item... I have no idea if rustc cares that `eh_catch_typeinfo` has a certain shape, but better safe than sorry. I cannot test this locally. r? @oli-obk Cc @Aaron1011
Configuration menu - View commit details
-
Copy full SHA for 937195b - Browse repository at this point
Copy the full SHA 937195bView commit details -
Rollup merge of rust-lang#66469 - CosineP:fix/field-lint, r=petrochenkov
Use "field is never read" instead of "field is never used" this is my first PR here so please let me know if i am doing it wrong closes rust-lang#64465 i will be referencing this with a book PR that updates the same language
Configuration menu - View commit details
-
Copy full SHA for c0fccf5 - Browse repository at this point
Copy the full SHA c0fccf5View commit details -
Rollup merge of rust-lang#66471 - Alexendoo:test-issue-63116, r=Centril
Add test for issue 63116 Closes rust-lang#63116
Configuration menu - View commit details
-
Copy full SHA for 750dd03 - Browse repository at this point
Copy the full SHA 750dd03View commit details -
Rollup merge of rust-lang#66477 - ALSchwalm:clarify-transmute-copy, r…
…=Centril Clarify transmute_copy documentation example Currently the documentation for `transmute_copy` implies that the function accepts a slice due to the variable name chosen in the example. This is misleading as `foo_slice` is actually an array and `transmute_copy` cannot take an unsized type anyway. This PR just clarifies things by renaming the variable used in the example.
Configuration menu - View commit details
-
Copy full SHA for f65cb87 - Browse repository at this point
Copy the full SHA f65cb87View commit details