-
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 12 pull requests #80708
Rollup of 12 pull requests #80708
Commits on Dec 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 303203f - Browse repository at this point
Copy the full SHA 303203fView commit details
Commits on Dec 30, 2020
-
addresses: clippy::or_fun_call clippy::single_char_add_str clippy::comparison_to_empty clippy::or_fun_call
Configuration menu - View commit details
-
Copy full SHA for 87423fb - Browse repository at this point
Copy the full SHA 87423fbView commit details
Commits on Jan 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a2f2778 - Browse repository at this point
Copy the full SHA a2f2778View commit details
Commits on Jan 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 203d502 - Browse repository at this point
Copy the full SHA 203d502View commit details -
Move variable into the only branch where it is relevant
At the `if` branch `filter` (the `let` binding) is `None` iff `filter` (the parameter) was `None`. We can branch on the parameter, move the binding into the `if`, and the complexity of handling `Option<Option<_>` largely dissolves.
Configuration menu - View commit details
-
Copy full SHA for af7134e - Browse repository at this point
Copy the full SHA af7134eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 514b0ce - Browse repository at this point
Copy the full SHA 514b0ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d45d05 - Browse repository at this point
Copy the full SHA 6d45d05View commit details
Commits on Jan 4, 2021
-
./x.py clippy: allow the most noisy lints
This silences the following clippy lints in ./x.py clippy: many_single_char_names (there are a lot of warnings caused by stdarch) collapsible_if (can reduce readability) type_complexity missing_safety_doc (there are almost 3K warnings issued) too_many_arguments needless_lifetimes (people want 'tcx lifetimes etc) wrong_self_convention (warns about from_..(), to_..(), into_..().. fns that do or do not take self by reference.
Configuration menu - View commit details
-
Copy full SHA for 6a4b24e - Browse repository at this point
Copy the full SHA 6a4b24eView commit details -
doc -- list edit for consistency
oliver authoredJan 4, 2021 Configuration menu - View commit details
-
Copy full SHA for e152582 - Browse repository at this point
Copy the full SHA e152582View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54883e0 - Browse repository at this point
Copy the full SHA 54883e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6002e78 - Browse repository at this point
Copy the full SHA 6002e78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92d1b39 - Browse repository at this point
Copy the full SHA 92d1b39View commit details
Commits on Jan 5, 2021
-
Rollup merge of rust-lang#80442 - steffahn:mention_arc_in_cow, r=Mark…
…-Simulacrum Mention Arc::make_mut and Rc::make_mut in the documentation of Cow Following this discussion: https://users.rust-lang.org/t/should-the-cow-documentation-mention-arc/53341 _Rendered (the last paragraph is new):_ ![Screenshot_20201228_171551](https://user-images.githubusercontent.com/3986214/103228135-5d72e200-4930-11eb-89e1-38b5c86b08c7.png) `@rustbot` modify labels: T-doc, T-libs
Configuration menu - View commit details
-
Copy full SHA for bdf8bbd - Browse repository at this point
Copy the full SHA bdf8bbdView commit details -
Rollup merge of rust-lang#80533 - matthiaskrgr:bootstrap_clppy, r=Mar…
…k-Simulacrum bootstrap: clippy fixes addresses: clippy::or_fun_call clippy::single_char_add_str clippy::comparison_to_empty clippy::or_fun_call
Configuration menu - View commit details
-
Copy full SHA for 4c4e8e7 - Browse repository at this point
Copy the full SHA 4c4e8e7View commit details -
Rollup merge of rust-lang#80538 - JulianKnodt:err_usize, r=lcnr
Add check for `[T;N]`/`usize` mismatch in astconv Helps clarify the issue in rust-lang#80506 by adding a specific check for mismatches between [T;N] and usize. r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for be2a3f8 - Browse repository at this point
Copy the full SHA be2a3f8View commit details -
Rollup merge of rust-lang#80612 - rust-lang:XAMPPRocky-patch-1, r=Mar…
…k-Simulacrum Remove reverted change from relnotes r? `@Mark-Simulacrum`
Configuration menu - View commit details
-
Copy full SHA for d85c2fe - Browse repository at this point
Copy the full SHA d85c2feView commit details -
Rollup merge of rust-lang#80627 - bugadani:warn, r=Mark-Simulacrum
Builder: Warn if test file does not exist Running `./x.py test` with a file that does not exists (but where the path belongs to a test suite) silently ignores the missing file and runs the whole test suite. This PR prints a warning to reduce the potential surprise factor. Closes rust-lang#80621
Configuration menu - View commit details
-
Copy full SHA for 1c6593c - Browse repository at this point
Copy the full SHA 1c6593cView commit details -
Rollup merge of rust-lang#80637 - LingMan:filter, r=oli-obk
Use Option::filter instead of open-coding it `@rustbot` modify labels +C-cleanup +T-compiler
Configuration menu - View commit details
-
Copy full SHA for faf8bed - Browse repository at this point
Copy the full SHA faf8bedView commit details -
Rollup merge of rust-lang#80643 - LingMan:unwrap, r=oli-obk
Move variable into the only branch where it is relevant At the `if` branch `filter` (the `let` binding) is `None` iff `filter` (the parameter) was `None`. We can branch on the parameter, move the binding into the `if`, and the complexity of handling `Option<Option<_>` largely dissolves. `@rustbot` modify labels +C-cleanup +T-compiler Note: I have no idea how hot this code is. If this method frequently gets called with a `None` filter, there might be a small perf improvement.
Configuration menu - View commit details
-
Copy full SHA for 598d189 - Browse repository at this point
Copy the full SHA 598d189View commit details -
Rollup merge of rust-lang#80656 - booleancoercion:master, r=sfackler
Fixed documentation error for `std::hint::spin_loop` Fixes rust-lang#80644.
Configuration menu - View commit details
-
Copy full SHA for cbdc241 - Browse repository at this point
Copy the full SHA cbdc241View commit details -
Rollup merge of rust-lang#80666 - jjlin:master, r=Dylan-DPC
Fix missing link for "fully qualified syntax" This issue can currently be seen at https://doc.rust-lang.org/stable/std/rc/index.html#toggle-all-docs:~:text=%5B-,fully%20qualified%20syntax It originates from rust-lang#76138, where the link was added to `library/alloc/src/sync.rs`, but not `library/alloc/src/rc.rs`.
Configuration menu - View commit details
-
Copy full SHA for cda26a6 - Browse repository at this point
Copy the full SHA cda26a6View commit details -
Rollup merge of rust-lang#80672 - matthiaskrgr:xpy_clippy_less_noise,…
… r=Mark-Simulacrum ./x.py clippy: allow the most noisy lints This silences the following clippy lints in ./x.py clippy: many_single_char_names (there are a lot of warnings caused by stdarch) collapsible_if (can reduce readability) type_complexity missing_safety_doc (there are almost 3K warnings issued) too_many_arguments needless_lifetimes (people want 'tcx lifetimes etc) wrong_self_convention (warns about from_..(), to_..(), into_..().. fns that do or do not take self by reference. Just for clarification; this only changes the output of `x.py clippy` inside the rustc repo and does not change anything about clippy or how `cargo clippy` is run on peoples crates.
Configuration menu - View commit details
-
Copy full SHA for cb43373 - Browse repository at this point
Copy the full SHA cb43373View commit details -
Rollup merge of rust-lang#80677 - kw-fn:patch-2, r=jyn514
doc -- list edit for consistency
Configuration menu - View commit details
-
Copy full SHA for ee94d9d - Browse repository at this point
Copy the full SHA ee94d9dView commit details -
Rollup merge of rust-lang#80696 - RalfJung:failing-promoteds, r=oli-obk
make sure that promoteds which fail to evaluate in dead const code behave correctly rust-lang#80243 showed that we'll have to live with these kinds of failing promoteds for a while, so let's make sure we have a test that covers them.
Configuration menu - View commit details
-
Copy full SHA for 9daac58 - Browse repository at this point
Copy the full SHA 9daac58View commit details