-
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 16 pull requests #76045
Rollup of 16 pull requests #76045
Commits on Aug 8, 2020
-
Miri: Renamed "undef" to "uninit"
Renamed remaining references to "undef" to "uninit" when referring to Miri. Impacted directories are: - src/librustc_codegen_llvm/consts.rs - src/librustc_middle/mir/interpret/ - src/librustc_middle/ty/print/pretty.rs - src/librustc_mir/ - src/tools/clippy/clippy_lints/src/consts.rs Upon building Miri based on the new changes it was verified that no changes needed to be made with the Miri project. Related issue rust-lang#71193
Configuration menu - View commit details
-
Copy full SHA for 2d1515a - Browse repository at this point
Copy the full SHA 2d1515aView commit details
Commits on Aug 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for a77e881 - Browse repository at this point
Copy the full SHA a77e881View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bc0ecd - Browse repository at this point
Copy the full SHA 2bc0ecdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6b2254 - Browse repository at this point
Copy the full SHA e6b2254View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cc1a2e - Browse repository at this point
Copy the full SHA 7cc1a2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 166c520 - Browse repository at this point
Copy the full SHA 166c520View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9ba829 - Browse repository at this point
Copy the full SHA f9ba829View commit details
Commits on Aug 10, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3e3e50b - Browse repository at this point
Copy the full SHA 3e3e50bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbf637d - Browse repository at this point
Copy the full SHA fbf637dView commit details
Commits on Aug 11, 2020
-
Rollup merge of rust-lang#75226 - pnadon:miri-undef-uninit, r=RalfJung
Miri: Renamed "undef" to "uninit" Renamed remaining references to "undef" to "uninit" when referring to Miri. Impacted directories are: - `src/librustc_codegen_llvm/consts.rs` - `src/librustc_middle/mir/interpret/` - `src/librustc_middle/ty/print/pretty.rs` - `src/librustc_mir/` - `src/tools/clippy/clippy_lints/src/consts.rs` Upon building Miri based on the new changes it was verified that no changes needed to be made with the Miri project. Related issue rust-lang#71193
Configuration menu - View commit details
-
Copy full SHA for 91aa55d - Browse repository at this point
Copy the full SHA 91aa55dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8713e3 - Browse repository at this point
Copy the full SHA b8713e3View commit details -
Auto merge of rust-lang#5892 - matthiaskrgr:redundant_mut, r=flip1995
unnecessary-mut-passed: make lint message say if fn is a function or a method changelog: refine "unnecessary-mut-passed" lint message
Configuration menu - View commit details
-
Copy full SHA for 3337f79 - Browse repository at this point
Copy the full SHA 3337f79View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0a9d64 - Browse repository at this point
Copy the full SHA c0a9d64View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac194ca - Browse repository at this point
Copy the full SHA ac194caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 04867e0 - Browse repository at this point
Copy the full SHA 04867e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6af297f - Browse repository at this point
Copy the full SHA 6af297fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f171f89 - Browse repository at this point
Copy the full SHA f171f89View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdf4dc3 - Browse repository at this point
Copy the full SHA bdf4dc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f17c3b - Browse repository at this point
Copy the full SHA 1f17c3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4236156 - Browse repository at this point
Copy the full SHA 4236156View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2de290d - Browse repository at this point
Copy the full SHA 2de290dView commit details -
Configuration menu - View commit details
-
Copy full SHA for db390f5 - Browse repository at this point
Copy the full SHA db390f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89591a7 - Browse repository at this point
Copy the full SHA 89591a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 605e027 - Browse repository at this point
Copy the full SHA 605e027View commit details -
Configuration menu - View commit details
-
Copy full SHA for be3e695 - Browse repository at this point
Copy the full SHA be3e695View commit details -
Configuration menu - View commit details
-
Copy full SHA for 027780c - Browse repository at this point
Copy the full SHA 027780cView commit details
Commits on Aug 12, 2020
-
Auto merge of rust-lang#75405 - flip1995:clippyup, r=Manishearth
Update Clippy Biweekly Clippy update (2 days late, since I wanted to wait for rust-lang#75098) r? @Manishearth
Configuration menu - View commit details
-
Copy full SHA for fdc2f87 - Browse repository at this point
Copy the full SHA fdc2f87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a96b9c - Browse repository at this point
Copy the full SHA 8a96b9cView commit details -
fix typo pointed out in review comment
Co-authored-by: Philipp Krones <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d2e42d - Browse repository at this point
Copy the full SHA 7d2e42dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 318c74a - Browse repository at this point
Copy the full SHA 318c74aView commit details -
Auto merge of rust-lang#5898 - flip1995:rustup, r=flip1995
Rustup r? @ghost changelog: none
Configuration menu - View commit details
-
Copy full SHA for 3ed0a4c - Browse repository at this point
Copy the full SHA 3ed0a4cView commit details -
Auto merge of rust-lang#5885 - Ryan1729:patch-2, r=flip1995
Add example of false positive to PTR_ARG docs. Addresses rust-lang#214 changelog: Add example of false positive to `ptr_arg` docs.
Configuration menu - View commit details
-
Copy full SHA for 2f4de2f - Browse repository at this point
Copy the full SHA 2f4de2fView commit details -
Add the other overloadable operations to suspicious_arithmetic_impl
In rust-lang#2268 I idly mused that the other user-overloadable operations could be added to this lint. Knowing that the lint was arguably incomplete was gnawing at the back of my mind, so I figured that I might as well make this PR, particularly given the change needed was so small.
Configuration menu - View commit details
-
Copy full SHA for 0fc61be - Browse repository at this point
Copy the full SHA 0fc61beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 616682d - Browse repository at this point
Copy the full SHA 616682dView commit details -
Should have actually ran rustfmt on it, rather than attempting to fix it manually
Configuration menu - View commit details
-
Copy full SHA for c705817 - Browse repository at this point
Copy the full SHA c705817View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4eeff9 - Browse repository at this point
Copy the full SHA f4eeff9View commit details -
Auto merge of rust-lang#5893 - matthiaskrgr:lint_msg, r=yaahc
fix remaining lint messages r? @yaahc changelog: make remaining lint messages adhere to rustc dev guide lint message convention.
Configuration menu - View commit details
-
Copy full SHA for c73cf9f - Browse repository at this point
Copy the full SHA c73cf9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bd7a46 - Browse repository at this point
Copy the full SHA 7bd7a46View commit details -
Auto merge of rust-lang#5884 - Ryan1729:patch-1, r=flip1995
Add the other overloadable operations to suspicious_arithmetic_impl In rust-lang#2268 I idly mused that the other user-overloadable operations could be added to this lint. Knowing that the lint was arguably incomplete was gnawing at the back of my mind, so I figured that I might as well make this PR, particularly given the change needed was so small. changelog: Start warning on suspicious implementations of the `BitAnd`, `BitOr`, `BitXor`, `Rem`, `Shl`, and `Shr` traits.
Configuration menu - View commit details
-
Copy full SHA for 439bae6 - Browse repository at this point
Copy the full SHA 439bae6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 480ccc3 - Browse repository at this point
Copy the full SHA 480ccc3View commit details -
Auto merge of rust-lang#5897 - matthiaskrgr:no_clone_tts, r=flip1995
write.rs: don't clone TokenStream changelog: none
Configuration menu - View commit details
-
Copy full SHA for dc1e09b - Browse repository at this point
Copy the full SHA dc1e09bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5634c8d - Browse repository at this point
Copy the full SHA 5634c8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e28d99 - Browse repository at this point
Copy the full SHA 4e28d99View commit details
Commits on Aug 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9f827ab - Browse repository at this point
Copy the full SHA 9f827abView commit details -
Auto merge of rust-lang#5900 - ThibsG:ParensUselessConversion4750, r=…
…phansch Fix: keep parenthesis for suggestion in `useless_conversion` lint Note: this lint was previously named `identity_conversion`. fixes: rust-lang#4750 changelog: fix parenthesis for `useless_conversion` lint suggestion
Configuration menu - View commit details
-
Copy full SHA for fc4fd91 - Browse repository at this point
Copy the full SHA fc4fd91View commit details -
Auto merge of rust-lang#5899 - JarredAllen:rc-box-suggestion, r=yaahc
Change Rc<Box<T>> recommendation to be Rc<T> instead of Box<T> Fixes rust-lang#5722 changelog: Suggest `Rc<Box<T>>` -> `Rc<T>` in [`redundant_allocation`] lint
Configuration menu - View commit details
-
Copy full SHA for d5f5487 - Browse repository at this point
Copy the full SHA d5f5487View commit details -
Auto merge of rust-lang#5901 - giraffate:add_reference_to_rustc_dev_g…
…uide, r=matthiaskrgr Add reference to rustc-dev-guide about lint message I think it would be better to add lint message convention to documentation. I referred to rust-lang/rust-clippy#5888 and rust-lang/rust-clippy#5893. changelog: none
Configuration menu - View commit details
-
Copy full SHA for ba363bd - Browse repository at this point
Copy the full SHA ba363bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 429a1ce - Browse repository at this point
Copy the full SHA 429a1ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48a1425 - Browse repository at this point
Copy the full SHA 48a1425View commit details -
Auto merge of rust-lang#5905 - ErichDonGubler:patch-1, r=flip1995
docs: typo in `temporary_cstring_as_ptr`: s/point/&s changelog: none
Configuration menu - View commit details
-
Copy full SHA for 8ecc0fc - Browse repository at this point
Copy the full SHA 8ecc0fcView commit details
Commits on Aug 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8514b84 - Browse repository at this point
Copy the full SHA 8514b84View commit details -
Don't use
to_string
in impl Displaychansuke committedAug 14, 2020 Configuration menu - View commit details
-
Copy full SHA for 8e54997 - Browse repository at this point
Copy the full SHA 8e54997View commit details -
Don't emit a lint when `pushed_item` was declared as mutable variable.
Configuration menu - View commit details
-
Copy full SHA for f98ffa2 - Browse repository at this point
Copy the full SHA f98ffa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72d2c2e - Browse repository at this point
Copy the full SHA 72d2c2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae56e98 - Browse repository at this point
Copy the full SHA ae56e98View commit details -
Configuration menu - View commit details
-
Copy full SHA for b381ade - Browse repository at this point
Copy the full SHA b381adeView commit details
Commits on Aug 15, 2020
-
Auto merge of rust-lang#5910 - flip1995:rustup, r=flip1995
Rustup r? @ghost changelog: none
Configuration menu - View commit details
-
Copy full SHA for f0cc006 - Browse repository at this point
Copy the full SHA f0cc006View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d18fe7 - Browse repository at this point
Copy the full SHA 6d18fe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85f4ef0 - Browse repository at this point
Copy the full SHA 85f4ef0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65d10c7 - Browse repository at this point
Copy the full SHA 65d10c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd6ca72 - Browse repository at this point
Copy the full SHA cd6ca72View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7d5c2f - Browse repository at this point
Copy the full SHA a7d5c2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96efaee - Browse repository at this point
Copy the full SHA 96efaeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for baa4cb1 - Browse repository at this point
Copy the full SHA baa4cb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a140dc - Browse repository at this point
Copy the full SHA 1a140dcView commit details
Commits on Aug 16, 2020
-
Auto merge of rust-lang#5912 - ebroto:needless_doctest_main_improveme…
…nts, r=Manishearth,flip1995 Parse doctests in needless_doctest_main This switches from text-based search to running the parser to avoid false positives. Inspired by how [rustdoc](https://github.com/rust-lang/rust/blob/3f3250500fe152b5759c21453ba9a9129808d0d8/src/librustdoc/test.rs#L366) handles this and by rust-lang#4729. cc @llogiq changelog: Fix multiple false positives in [`needless_doctest_main`]. Fixes rust-lang#5879 Fixes rust-lang#4906 Fixes rust-lang#5103 Fixes rust-lang#4698
Configuration menu - View commit details
-
Copy full SHA for f8db258 - Browse repository at this point
Copy the full SHA f8db258View commit details -
Auto merge of rust-lang#5831 - chansuke:to_string_in_display, r=flip1995
Don't use `to_string` in impl Display fixes rust-lang#3876 this PR is derived from [Toxyxer's implementation](rust-lang/rust-clippy#5574). changelog: add [`to_string_in_display`] lint
Configuration menu - View commit details
-
Copy full SHA for e522ca3 - Browse repository at this point
Copy the full SHA e522ca3View commit details -
Auto merge of rust-lang#5881 - wiomoc:feature/single-char-push_str, r…
…=ebroto,flip1995 Lint `push_str` with a single-character string literal Fixes rust-lang#5875 changelog: `* [single_char_push_str]`
Configuration menu - View commit details
-
Copy full SHA for c8e05fc - Browse repository at this point
Copy the full SHA c8e05fcView commit details -
Auto merge of rust-lang#5903 - jrqc:needless_return, r=ebroto,flip1995
Needless return Fixes rust-lang#5858 changelog: fix false positive [`needless_return`]
Configuration menu - View commit details
-
Copy full SHA for dff7e74 - Browse repository at this point
Copy the full SHA dff7e74View commit details -
Auto merge of rust-lang#5907 - wiomoc:feature/useless-vec-max-size, r…
…=flip1995 appreciative too_large_for_stack in useless `vec!` Fixes: rust-lang#5847 changelog: Add `too_large_for_stack ` configuration option for `USELESS_VEC`
Configuration menu - View commit details
-
Copy full SHA for 78857cc - Browse repository at this point
Copy the full SHA 78857ccView commit details -
Auto merge of rust-lang#5725 - montrivo:should-impl-trait, r=flip1995
should_impl_trait - ignore methods with lifetime params Fixes: rust-lang#5617 changelog: don't lint should_implement_trait when an `Iterator::next` case has explicit parameters
Configuration menu - View commit details
-
Copy full SHA for 3bd9889 - Browse repository at this point
Copy the full SHA 3bd9889View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3ea65c - Browse repository at this point
Copy the full SHA a3ea65cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 923d612 - Browse repository at this point
Copy the full SHA 923d612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 848af39 - Browse repository at this point
Copy the full SHA 848af39View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7cc5d4 - Browse repository at this point
Copy the full SHA a7cc5d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7220db - Browse repository at this point
Copy the full SHA d7220dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75637c1 - Browse repository at this point
Copy the full SHA 75637c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7083ee - Browse repository at this point
Copy the full SHA a7083eeView commit details -
Co-authored-by: Philipp Krones <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 94cf90e - Browse repository at this point
Copy the full SHA 94cf90eView commit details -
Co-authored-by: Philipp Krones <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c41822 - Browse repository at this point
Copy the full SHA 9c41822View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8f0a14 - Browse repository at this point
Copy the full SHA d8f0a14View commit details -
Configuration menu - View commit details
-
Copy full SHA for d71b418 - Browse repository at this point
Copy the full SHA d71b418View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a14c11 - Browse repository at this point
Copy the full SHA 8a14c11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b52d7f - Browse repository at this point
Copy the full SHA 3b52d7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7ee868 - Browse repository at this point
Copy the full SHA b7ee868View commit details -
Auto merge of rust-lang#5913 - HactarCE:patch-1, r=flip1995
Fix typo in description of unnecessary_mut_passed changelog: Correct "immutable reference" to "mutable reference" in description of `unnecessary_mut_passed`
Configuration menu - View commit details
-
Copy full SHA for 5d723d0 - Browse repository at this point
Copy the full SHA 5d723d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b175642 - Browse repository at this point
Copy the full SHA b175642View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc1e07e - Browse repository at this point
Copy the full SHA fc1e07eView commit details -
Auto merge of rust-lang#5720 - bugadani:new-lint, r=flip1995,yaahc
Add unnecessary lazy evaluation lint changelog: Add [`unnecessary_lazy_evaluations`] lint that checks for usages of `unwrap_or_else` and similar functions that can be simplified. Closes rust-lang#5715
Configuration menu - View commit details
-
Copy full SHA for 8d0d89a - Browse repository at this point
Copy the full SHA 8d0d89aView commit details -
Introduce function for comparing expression values
Introduce `eq_expr_value(cx, a, b)` as a shortcut for `SpanlessEq::new(cx).ignore_fn().eq_expr(cx, a, b)`. No functional changes intended.
Configuration menu - View commit details
-
Copy full SHA for 6afa4ef - Browse repository at this point
Copy the full SHA 6afa4efView commit details -
Rename SpanlessEq::ignore_fn to deny_side_effects
No functional changes intended.
Configuration menu - View commit details
-
Copy full SHA for 9b800b1 - Browse repository at this point
Copy the full SHA 9b800b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1dbf79 - Browse repository at this point
Copy the full SHA d1dbf79View commit details -
Warn about explicit self-assignment
Warn about assignments where left-hand side place expression is the same as right-hand side value expression. For example, warn about assignment in: ```rust pub struct Event { id: usize, x: i32, y: i32, } pub fn copy_position(a: &mut Event, b: &Event) { a.x = b.x; a.y = a.y; } ```
Configuration menu - View commit details
-
Copy full SHA for 4f4abf4 - Browse repository at this point
Copy the full SHA 4f4abf4View commit details -
Auto merge of rust-lang#5894 - tmiasko:self-assignment, r=Manishearth
Warn about explicit self-assignment Warn about assignments where left-hand side place expression is the same as right-hand side value expression. For example, warn about assignment in: ```rust pub struct Event { id: usize, x: i32, y: i32, } pub fn copy_position(a: &mut Event, b: &Event) { a.x = b.x; a.y = a.y; } ``` changelog: New lint `self_assignment`, checks for explicit self-assignments.
Configuration menu - View commit details
-
Copy full SHA for 8332fe8 - Browse repository at this point
Copy the full SHA 8332fe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99ba290 - Browse repository at this point
Copy the full SHA 99ba290View commit details
Commits on Aug 17, 2020
-
deps: bump cargo_metadata and semver
cargo_metadata 0.9.1 -> 0.11.1 semver 0.9.0 -> 0.10.0
Configuration menu - View commit details
-
Copy full SHA for 262db3b - Browse repository at this point
Copy the full SHA 262db3bView commit details -
Auto merge of rust-lang#5915 - matthiaskrgr:deps_, r=Manishearth
deps: bump cargo_metadata and semver cargo_metadata 0.9.1 -> 0.11.1 semver 0.9.0 -> 0.10.0 changelog: none
Configuration menu - View commit details
-
Copy full SHA for 838c201 - Browse repository at this point
Copy the full SHA 838c201View commit details -
clippy: support
QPath::LangItem
This commit updates clippy with the introduction of `QPath::LangItem` so that it still compiles. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f13d2bf - Browse repository at this point
Copy the full SHA f13d2bfView commit details -
Auto merge of rust-lang#5908 - giraffate:fix_fp_for_same_item_push, r…
…=flip1995 Fix FP for `same_item_push` Fixes rust-lang/rust-clippy#5902 changelog: Fix FP for `same_item_push` where the pushed variable is mutated.
Configuration menu - View commit details
-
Copy full SHA for 9360ca6 - Browse repository at this point
Copy the full SHA 9360ca6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae0eb39 - Browse repository at this point
Copy the full SHA ae0eb39View commit details -
Auto merge of rust-lang#75120 - JulianKnodt:rm_reps, r=oli-obk
rust_ast::ast => rustc_ast Rework of rust-lang#71199 which is a rework rust-lang#70621 Still working on this but just made the PR to track progress r? @Dylan-DPC
Configuration menu - View commit details
-
Copy full SHA for 4b0e6d5 - Browse repository at this point
Copy the full SHA 4b0e6d5View commit details
Commits on Aug 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c680602 - Browse repository at this point
Copy the full SHA c680602View commit details -
Auto merge of rust-lang#5922 - flip1995:rustup, r=flip1995
Rustup r? @ghost changelog: none
Configuration menu - View commit details
-
Copy full SHA for 6220dff - Browse repository at this point
Copy the full SHA 6220dffView commit details -
Configuration menu - View commit details
-
Copy full SHA for df4d42f - Browse repository at this point
Copy the full SHA df4d42fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a12bae - Browse repository at this point
Copy the full SHA 6a12baeView commit details
Commits on Aug 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 902b282 - Browse repository at this point
Copy the full SHA 902b282View commit details
Commits on Aug 20, 2020
-
Fix false positive in
PRECEDENCE
lintExtend the lint to handle chains of methods combined with unary negation. Closes rust-lang#5924
Michael Wright committedAug 20, 2020 Configuration menu - View commit details
-
Copy full SHA for c236c0f - Browse repository at this point
Copy the full SHA c236c0fView commit details -
Capture tokens for Pat used in macro_rules! argument
This extends PR rust-lang#73293 to handle patterns (Pat). Unlike expressions, patterns do not support custom attributes, so we only need to capture tokens during macro_rules! argument parsing.
Configuration menu - View commit details
-
Copy full SHA for 191b080 - Browse repository at this point
Copy the full SHA 191b080View commit details -
Auto merge of rust-lang#5919 - ebroto:5747_from_bits_in_const, r=matt…
…hiaskrgr transmute: avoid suggesting from/to bits in const changelog: Avoid suggesting from/to bits in const contexts in [`transmute_int_to_float`] Fixes rust-lang#5747
Configuration menu - View commit details
-
Copy full SHA for d891954 - Browse repository at this point
Copy the full SHA d891954View commit details -
Auto merge of rust-lang#5928 - mikerite:fix-5924, r=ebroto
Fix false positive in `PRECEDENCE` lint Extend the lint to handle chains of methods combined with unary negation. Closes rust-lang#5924 changelog: Fix false negative in `PRECEDENCE` lint
Configuration menu - View commit details
-
Copy full SHA for 4104611 - Browse repository at this point
Copy the full SHA 4104611View commit details
Commits on Aug 21, 2020
-
Fix false negative in
option_as_ref_deref
Michael Wright committedAug 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 11efd75 - Browse repository at this point
Copy the full SHA 11efd75View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2799c8 - Browse repository at this point
Copy the full SHA c2799c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 146e352 - Browse repository at this point
Copy the full SHA 146e352View commit details -
Auto merge of rust-lang#5938 - ebroto:sync-from-rust, r=ebroto
Rustup r? @ghost changelog: none
Configuration menu - View commit details
-
Copy full SHA for 1a26dbf - Browse repository at this point
Copy the full SHA 1a26dbfView commit details -
Auto merge of rust-lang#5933 - mikerite:fix-5927, r=matthiaskrgr
Fix false negative in `option_as_ref_deref` Closes rust-lang#5927 changelog: Fix false negative in `option_as_ref_deref`
Configuration menu - View commit details
-
Copy full SHA for aa3b04f - Browse repository at this point
Copy the full SHA aa3b04fView commit details
Commits on Aug 22, 2020
-
Auto merge of rust-lang#5926 - giraffate:improve_lint_message_in_to_s…
…tring_in_display, r=yaahc Improve lint message in `to_string_in_display` This is a follow-up of rust-lang/rust-clippy#5831. changelog: none
Configuration menu - View commit details
-
Copy full SHA for b57ef14 - Browse repository at this point
Copy the full SHA b57ef14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03bc7ae - Browse repository at this point
Copy the full SHA 03bc7aeView commit details -
Auto merge of rust-lang#5934 - ThibsG:WrongSelfTestCase4037, r=ebroto
Add async test case for FP in `wrong_self_convention` lint Closes: rust-lang#4037 changelog: none r? @ebroto
Configuration menu - View commit details
-
Copy full SHA for a8520b0 - Browse repository at this point
Copy the full SHA a8520b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 191b6c7 - Browse repository at this point
Copy the full SHA 191b6c7View commit details -
Widen understanding of prelude import
Prelude imports are exempt from wildcard import warnings. Until now only imports of the form ``` use ...::prelude::*; ``` were considered. This change makes it so that the segment `prelude` can show up anywhere, for instance: ``` use ...::prelude::v1::*; ``` Fixes rust-lang#5917
Configuration menu - View commit details
-
Copy full SHA for 5b07b9e - Browse repository at this point
Copy the full SHA 5b07b9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53508ae - Browse repository at this point
Copy the full SHA 53508aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e615a26 - Browse repository at this point
Copy the full SHA e615a26View commit details -
Auto merge of rust-lang#5929 - stchris:issues/5917, r=ebroto
Widen understanding of prelude import Prelude imports are exempt from wildcard import warnings. Until now only imports of the form ``` use ...::prelude::*; ``` were considered. This change makes it so that the segment `prelude` can show up anywhere, for instance: ``` use ...::prelude::v1::*; ``` Fixes rust-lang#5917 changelog: Allow `prelude` to appear in any segment of the import path in [`wildcard_imports`]
Configuration menu - View commit details
-
Copy full SHA for f21d10b - Browse repository at this point
Copy the full SHA f21d10bView commit details -
Auto merge of rust-lang#5941 - ThibsG:InlineInCopyPassByRef, r=yaahc
Don't lint if it has always inline attribute Don't trigger the lint `trivially_copy_pass_by_ref` if it has `#[inline(always)]` attribute. Note: I am not particularly familiar with `inline` impacts, so I implemented this the way that if only `#[inline]` attribute is here (without `always`), the lint will still trigger. Also, it will still trigger if it has `#[inline(never)]`. Just tell me if it sounds too much conservative. Fixes: rust-lang#5876 changelog: none
Configuration menu - View commit details
-
Copy full SHA for dd07860 - Browse repository at this point
Copy the full SHA dd07860View commit details
Commits on Aug 23, 2020
-
Fix
let_and_return
bad suggestionAdd a cast to the suggestion when the return expression has adjustments. These adjustments are lost when the suggestion is applied. This is similar to the problem in issue rust-lang#4437. Closes rust-lang#5729
Michael Wright committedAug 23, 2020 Configuration menu - View commit details
-
Copy full SHA for e8d33d7 - Browse repository at this point
Copy the full SHA e8d33d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dd65b8 - Browse repository at this point
Copy the full SHA 6dd65b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb8ede7 - Browse repository at this point
Copy the full SHA eb8ede7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8776db9 - Browse repository at this point
Copy the full SHA 8776db9View commit details -
Fix fp in
borrow_interior_mutable_const
Fix false positive when referencing a field behind a pointer.
Configuration menu - View commit details
-
Copy full SHA for 91b200c - Browse repository at this point
Copy the full SHA 91b200cView commit details -
Auto merge of rust-lang#5930 - ebroto:dev_newlint_fix_lt, r=matthiaskrgr
Fix cargo dev new_lint for late lint passes Since rust-lang/rust-clippy@30c046e, `LateLintPass` has only one lifetime parameter. I'm not sure how to easily test this, I think adding this kind of tests would be probably part of rust-lang#5394 changelog: none
Configuration menu - View commit details
-
Copy full SHA for 2d86cc5 - Browse repository at this point
Copy the full SHA 2d86cc5View commit details -
Auto merge of rust-lang#5948 - ebroto:5944_repeat_ice, r=Manishearth
Fix ICE in `repeat_once` changelog: Fix ICE in [`repeat_once`] Fixes rust-lang#5944
Configuration menu - View commit details
-
Copy full SHA for 27ae4d3 - Browse repository at this point
Copy the full SHA 27ae4d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b05077e - Browse repository at this point
Copy the full SHA b05077eView commit details
Commits on Aug 24, 2020
-
Fix FP for
redundant_closure_call
Visit the nested things like function body when checking closure call.
Configuration menu - View commit details
-
Copy full SHA for b2c2266 - Browse repository at this point
Copy the full SHA b2c2266View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fe0ac3 - Browse repository at this point
Copy the full SHA 9fe0ac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce8915c - Browse repository at this point
Copy the full SHA ce8915cView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc7ea6f - Browse repository at this point
Copy the full SHA bc7ea6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d820f7 - Browse repository at this point
Copy the full SHA 3d820f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 680c681 - Browse repository at this point
Copy the full SHA 680c681View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e0e179 - Browse repository at this point
Copy the full SHA 8e0e179View commit details -
Fix clashing_extern_declarations false positive.
Fixes a false positive for transparent newtype with a non-zero member.
Configuration menu - View commit details
-
Copy full SHA for f38eb93 - Browse repository at this point
Copy the full SHA f38eb93View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9964f2 - Browse repository at this point
Copy the full SHA e9964f2View commit details -
Auto merge of rust-lang#5935 - matthiaskrgr:unstable_sort_ty_name, r=…
…flip1995 stable_sort_primitive: print the type that is being sorted in the lint message changelog: stable_sort_primitive: print the type that is being sorted in the lint message
Configuration menu - View commit details
-
Copy full SHA for 8d9a485 - Browse repository at this point
Copy the full SHA 8d9a485View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1831f65 - Browse repository at this point
Copy the full SHA 1831f65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48b4aea - Browse repository at this point
Copy the full SHA 48b4aeaView commit details
Commits on Aug 25, 2020
-
Auto merge of rust-lang#5920 - giraffate:fix_fp_for_redundant_closure…
…_call, r=mikerite Fix FP for `redundant_closure_call` Fix rust-lang#5916 changelog: Fix FP for `redundant_closure_call` when called in function body
Configuration menu - View commit details
-
Copy full SHA for 64b53f3 - Browse repository at this point
Copy the full SHA 64b53f3View commit details -
Michael Wright committed
Aug 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 9102832 - Browse repository at this point
Copy the full SHA 9102832View commit details -
Simplify fmt test by using the clippy dev alias
Michael Wright committedAug 25, 2020 Configuration menu - View commit details
-
Copy full SHA for 48d4736 - Browse repository at this point
Copy the full SHA 48d4736View commit details -
The fmt test will cause clippy dev to be compiled and run. The clippy dev dependencies are currently stored at `target/debug/deps` when this happens. This location sometimes causes conflicts with ui tests which result in the build error "thread 'compile_test' panicked at 'Found multiple rlibs for crate `regex` ...". This commit forces the clippy_dev dependencies to be stored under `clippy_dev/target/` which seems to resolve this problem.
Michael Wright committedAug 25, 2020 Configuration menu - View commit details
-
Copy full SHA for c7dc9c3 - Browse repository at this point
Copy the full SHA c7dc9c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 179df0b - Browse repository at this point
Copy the full SHA 179df0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f20f7f2 - Browse repository at this point
Copy the full SHA f20f7f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 671770e - Browse repository at this point
Copy the full SHA 671770eView commit details -
Co-authored-by: Bastian Kauschke <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ea86af - Browse repository at this point
Copy the full SHA 2ea86afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 352df40 - Browse repository at this point
Copy the full SHA 352df40View commit details -
Configuration menu - View commit details
-
Copy full SHA for acc6b6c - Browse repository at this point
Copy the full SHA acc6b6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4090d2 - Browse repository at this point
Copy the full SHA a4090d2View commit details -
Auto merge of rust-lang#5960 - flip1995:rustup, r=flip1995
Rustup r? @ghost changelog: none
Configuration menu - View commit details
-
Copy full SHA for 5ef345a - Browse repository at this point
Copy the full SHA 5ef345aView commit details -
Auto merge of rust-lang#5947 - ebroto:rustup_doc_improvements, r=flip…
…1995 Improve documentation related to the sync process [Rendered](https://github.com/ebroto/rust-clippy/blob/rustup_doc_improvements/CONTRIBUTING.md) r? @flip1995 changelog: none
Configuration menu - View commit details
-
Copy full SHA for ba43a43 - Browse repository at this point
Copy the full SHA ba43a43View commit details -
Auto merge of rust-lang#5952 - 1c3t3a:1c3t3a-dev-5819, r=Manishearth
Added a lint which corrects expressions like (a - b) < f32::EPSILON, according to rust-lang#5819 Fixes rust-lang#5819 changelog: none
Configuration menu - View commit details
-
Copy full SHA for f901559 - Browse repository at this point
Copy the full SHA f901559View commit details -
Auto merge of rust-lang#5958 - mikerite:fix-fmt-20200825, r=flip1995
Various fmt test improvements Various fmt test improvements. changelog: none
Configuration menu - View commit details
-
Copy full SHA for f326668 - Browse repository at this point
Copy the full SHA f326668View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e7a1b - Browse repository at this point
Copy the full SHA 18e7a1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b1e5d6 - Browse repository at this point
Copy the full SHA 3b1e5d6View commit details -
Auto merge of rust-lang#5961 - scottmcm:master, r=Manishearth
Re-enable len_zero for ranges now that `is_empty` is stable on them Fixes rust-lang#5956 Completed stabilization PR: rust-lang#75132 changelog: len_zero: re-enable linting ranges now that range_is_empty is stable
Configuration menu - View commit details
-
Copy full SHA for e191151 - Browse repository at this point
Copy the full SHA e191151View commit details -
Update clippy_lints/src/methods/mod.rs
Co-authored-by: Eduardo Broto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 370fc45 - Browse repository at this point
Copy the full SHA 370fc45View commit details -
Unify error reporting for intra-doc links
- Give a suggestion even if there is no span available - Give a more accurate description of the change than 'use the disambiguator' - Write much less code
Configuration menu - View commit details
-
Copy full SHA for 56d3f39 - Browse repository at this point
Copy the full SHA 56d3f39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05a040f - Browse repository at this point
Copy the full SHA 05a040fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ce4ee9 - Browse repository at this point
Copy the full SHA 5ce4ee9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e233d80 - Browse repository at this point
Copy the full SHA e233d80View commit details -
Auto merge of rust-lang#5951 - ThibsG:FixMacroCloneOnRefPtr2076, r=eb…
…roto Fix incorrect suggestion when `clone_on_ref_ptr` is triggered in macros In the lint `clone_on_ref_ptr`, if the `span` is in a macro, don't expand it for suggestion. Fixes: rust-lang#2076 changelog: none r? @ebroto
Configuration menu - View commit details
-
Copy full SHA for ad7a03c - Browse repository at this point
Copy the full SHA ad7a03cView commit details
Commits on Aug 26, 2020
-
Use map_or(true) instead of unwrap_or(true)
Co-authored-by: Ivan Tham <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb351de - Browse repository at this point
Copy the full SHA bb351deView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3c5817 - Browse repository at this point
Copy the full SHA d3c5817View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d18c24 - Browse repository at this point
Copy the full SHA 9d18c24View commit details -
Auto merge of rust-lang#5964 - matsujika:matsujika-patch-1, r=ebroto
Fix typo changelog: none
Configuration menu - View commit details
-
Copy full SHA for 23db542 - Browse repository at this point
Copy the full SHA 23db542View commit details -
Configuration menu - View commit details
-
Copy full SHA for 178c1bb - Browse repository at this point
Copy the full SHA 178c1bbView commit details -
Auto merge of rust-lang#5949 - rail-rain:fix_fp_borrow_interior_mutab…
…le_const, r=oli-obk Fix fp in `borrow_interior_mutable_const` fixes rust-lang#5796 changelog: fix false positive in `borrow_interior_mutable_const` when referencing a field behind a pointer.
Configuration menu - View commit details
-
Copy full SHA for 9ef4479 - Browse repository at this point
Copy the full SHA 9ef4479View commit details -
Auto merge of rust-lang#5946 - mikerite:fix-5729, r=flip1995
Fix `let_and_return` bad suggestion Add a cast to the suggestion when the return expression has adjustments. These adjustments are lost when the suggestion is applied. This is similar to the problem in issue rust-lang#4437. Closes rust-lang#5729 changelog: Fix `let_and_return` bad suggestion
Configuration menu - View commit details
-
Copy full SHA for 894581b - Browse repository at this point
Copy the full SHA 894581bView commit details -
Changed the location of the suggestion as well as the way the suggest…
…ion is assembled
Configuration menu - View commit details
-
Copy full SHA for 2d85314 - Browse repository at this point
Copy the full SHA 2d85314View commit details -
Auto merge of rust-lang#5966 - 1c3t3a:1c3t3a-dev-5819-fix, r=Manishearth
Corrects the float_equality_without_abs lint Fixes an issue in the `float_equality_without_abs` lint. The lint suggestion was configured in a way that it lints the whole error and not just the subtraction part. In the current configuration the lint would suggest to change the expression in a wrong way, e.g. ```rust let _ = (a - b) < f32::EPSILON; // before let _ = (a - b).abs(); // after ``` This was dicovered by @flip1995. (See discussion of PR rust-lang#5952). Also the suggestion is now formatted via `utils::sugg`. changelog: none
Configuration menu - View commit details
-
Copy full SHA for 64c4bb0 - Browse repository at this point
Copy the full SHA 64c4bb0View commit details -
Ninja substantially improves LLVM build time. On a 96-way system, using Make took 248s, and using Ninja took 161s, a 35% improvement. We already require a variety of tools to build Rust. If someone wants to build without Ninja (for instance, to minimize the set of packages required to bootstrap a new target), they can easily set `ninja=false` in `config.toml`. Our defaults should help people build Rust (and LLVM) faster, to speed up development.
Configuration menu - View commit details
-
Copy full SHA for 30b7dac - Browse repository at this point
Copy the full SHA 30b7dacView commit details -
Should be re-enabled when we have a recipe for installing ninja on macOS.
Configuration menu - View commit details
-
Copy full SHA for 181ce0e - Browse repository at this point
Copy the full SHA 181ce0eView commit details -
Windows CI builds already install ninja. Install it in all the Docker-based builds as well.
Configuration menu - View commit details
-
Copy full SHA for 6149dff - Browse repository at this point
Copy the full SHA 6149dffView commit details -
Provide a better diagnostic if ninja isn't installed
Let people know that they can set ninja=false if they don't want to install ninja.
Configuration menu - View commit details
-
Copy full SHA for bb39f35 - Browse repository at this point
Copy the full SHA bb39f35View commit details -
Fix the wrong use of
snippet_with_applicability
This includes a workaround of the issue rust-lang#5822, the cause of this little mistake.
Configuration menu - View commit details
-
Copy full SHA for edc05da - Browse repository at this point
Copy the full SHA edc05daView commit details -
Auto merge of rust-lang#5968 - rail-rain:fix_use_snippet_with_applica…
…bility, r=flip1995 Fix the wrong use of `snippet_with_applicability` For the context, please see rust-lang/rust-clippy#5822 (comment) and rust-lang/rust-clippy#5822 (comment). --- changelog: none
Configuration menu - View commit details
-
Copy full SHA for e45c59e - Browse repository at this point
Copy the full SHA e45c59eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91024f1 - Browse repository at this point
Copy the full SHA 91024f1View commit details -
Auto merge of rust-lang#5957 - xvschneider:AddUnwrapInsideResultLint,…
… r=yaahc Adding new lint to prevent usage of 'unwrap' inside functions that re… ### Change Adding a new lint that will emit a warning when using "unwrap" or "expect" inside a function that returns result. ### Motivation These functions promote recoverable errors to non-recoverable errors which may be undesirable in code bases which wish to avoid panics. ### Test plan Running: `TESTNAME=unwrap_in_result cargo uitest `--- changelog: none
Configuration menu - View commit details
-
Copy full SHA for dead45f - Browse repository at this point
Copy the full SHA dead45fView commit details
Commits on Aug 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f758c7b - Browse repository at this point
Copy the full SHA f758c7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b71c8b6 - Browse repository at this point
Copy the full SHA b71c8b6View commit details -
Fix FP in
to_string_in_display
Don't emit a lint when `.to_string()` on anything that is not `self`
Configuration menu - View commit details
-
Copy full SHA for 04bff17 - Browse repository at this point
Copy the full SHA 04bff17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a3ee5f - Browse repository at this point
Copy the full SHA 2a3ee5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cb75c2 - Browse repository at this point
Copy the full SHA 3cb75c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5046126 - Browse repository at this point
Copy the full SHA 5046126View commit details -
Configuration menu - View commit details
-
Copy full SHA for 970e779 - Browse repository at this point
Copy the full SHA 970e779View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0722c0 - Browse repository at this point
Copy the full SHA f0722c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 046556e - Browse repository at this point
Copy the full SHA 046556eView commit details -
Auto merge of rust-lang#5971 - giraffate:fix_fp_in_to_string_in_displ…
…ay, r=ebroto Fix FP in `to_string_in_display` Don't emit a lint when `.to_string()` on anything that is not `self` Fix rust-lang#5967 changelog: Fix FP in `to_string_in_display` when calling `.to_string()` on anything that is not `self`
Configuration menu - View commit details
-
Copy full SHA for 07c5e9e - Browse repository at this point
Copy the full SHA 07c5e9eView commit details
Commits on Aug 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 9cdcfe2 - Browse repository at this point
Copy the full SHA 9cdcfe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 392478c - Browse repository at this point
Copy the full SHA 392478cView commit details -
Update clippy_lints/src/utils/mod.rs
Co-authored-by: Eduardo Broto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e8be047 - Browse repository at this point
Copy the full SHA e8be047View commit details -
Update clippy_lints/src/utils/mod.rs
Co-authored-by: Eduardo Broto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ffaadae - Browse repository at this point
Copy the full SHA ffaadaeView commit details -
Update clippy_lints/src/methods/mod.rs
Co-authored-by: Eduardo Broto <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73b1ee1 - Browse repository at this point
Copy the full SHA 73b1ee1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2037ba4 - Browse repository at this point
Copy the full SHA 2037ba4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8bcc4d6 - Browse repository at this point
Copy the full SHA 8bcc4d6View commit details -
Auto merge of rust-lang#5774 - ThibsG:FixNewRetNoSelf, r=ebroto
Fix FP in `new_ret_no_self`: trigger in trait def instead of impl block Lint in trait def instead of impl block. Fixes: rust-lang#5435 changelog: none
Configuration menu - View commit details
-
Copy full SHA for 3d0b0e6 - Browse repository at this point
Copy the full SHA 3d0b0e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b501e3 - Browse repository at this point
Copy the full SHA 8b501e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e2228d - Browse repository at this point
Copy the full SHA 9e2228dView commit details -
Configuration menu - View commit details
-
Copy full SHA for adc7351 - Browse repository at this point
Copy the full SHA adc7351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 575e27d - Browse repository at this point
Copy the full SHA 575e27dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ae5e95 - Browse repository at this point
Copy the full SHA 9ae5e95View commit details
Commits on Aug 29, 2020
-
Rollup merge of rust-lang#74922 - joshtriplett:ninja-by-default, r=Ma…
…rk-Simulacrum Set ninja=true by default Ninja substantially improves LLVM build time. On a 96-way system, using Make took 248s, and using Ninja took 161s, a 35% improvement. We already require a variety of tools to build Rust. If someone wants to build without Ninja (for instance, to minimize the set of packages required to bootstrap a new target), they can easily set `ninja=false` in `config.toml`. Our defaults should help people build Rust (and LLVM) faster, to speed up development.
Configuration menu - View commit details
-
Copy full SHA for 062f744 - Browse repository at this point
Copy the full SHA 062f744View commit details -
Rollup merge of rust-lang#75852 - camelid:patch-3, r=jyn514
Switch to intra-doc links in `core::hash` Part of rust-lang#75080. @rustbot modify labels: A-intra-doc-links T-doc T-rustdoc
Configuration menu - View commit details
-
Copy full SHA for 520dbb9 - Browse repository at this point
Copy the full SHA 520dbb9View commit details -
Rollup merge of rust-lang#75874 - pickfire:patch-3, r=jyn514
Shorten liballoc doc intra link while readable r? @jyn514 Do you want to reviews these sort of pull requests in the future? I might send a few of them while reading vec code.
Configuration menu - View commit details
-
Copy full SHA for b8023cc - Browse repository at this point
Copy the full SHA b8023ccView commit details -
Rollup merge of rust-lang#75877 - vigoux:master, r=Amanieu
Update compiler-builtins Update the compiler-builtins dependency to include latest changes. This allows for `aarch64-unknown-linux-musl` to pass all tests. Fixes rust-lang#57820 and fixes rust-lang#46651
Configuration menu - View commit details
-
Copy full SHA for 2cb4c22 - Browse repository at this point
Copy the full SHA 2cb4c22View commit details -
Rollup merge of rust-lang#75881 - pickfire:patch-5, r=GuillaumeGomez
Expand rustdoc theme chooser x padding ![image](https://user-images.githubusercontent.com/4687791/91057476-d0eea500-e659-11ea-8c9a-e44db937da89.png) ![image](https://user-images.githubusercontent.com/4687791/91057530-e368de80-e659-11ea-9298-fbb00006d91f.png) But I still think there is room for improvement considering mdbook. ![image](https://user-images.githubusercontent.com/4687791/91057583-f7acdb80-e659-11ea-9dc5-317caed92bc5.png) CC @GuillaumeGomez @jyn514
Configuration menu - View commit details
-
Copy full SHA for 1b3cb99 - Browse repository at this point
Copy the full SHA 1b3cb99View commit details -
Rollup merge of rust-lang#75885 - jumbatm:issue75739-clashing-extern-…
…declarations-transparent-nonzero, r=lcnr Fix another clashing_extern_declarations false positive. Fixes rust-lang#75739. Fix another clashing_extern_declarations false positive, this time for transparent newtype with a non-zero member. r? @lcnr
Configuration menu - View commit details
-
Copy full SHA for 9687dad - Browse repository at this point
Copy the full SHA 9687dadView commit details -
Rollup merge of rust-lang#75892 - ArekPiekarz:unstable_book_tls_model…
…_typo, r=petrochenkov Fix typo in TLS Model in Unstable Book
Configuration menu - View commit details
-
Copy full SHA for 3e5669a - Browse repository at this point
Copy the full SHA 3e5669aView commit details -
Rollup merge of rust-lang#75901 - GuillaumeGomez:ayu-theme-button-hov…
…er-background-color, r=pickfire Improve theme button hover background color Fixes rust-lang#75880. ![Screenshot from 2020-08-25 13-44-01](https://user-images.githubusercontent.com/3050060/91170922-e60b1880-e6d9-11ea-9eb1-61a44cdc28d9.png) ![Screenshot from 2020-08-25 13-43-43](https://user-images.githubusercontent.com/3050060/91170924-e73c4580-e6d9-11ea-969e-616bf4130975.png) r? @pickfire
Configuration menu - View commit details
-
Copy full SHA for 2c06347 - Browse repository at this point
Copy the full SHA 2c06347View commit details -
Rollup merge of rust-lang#75910 - bugadani:testcase, r=oli-obk
Add test for issue rust-lang#27130 rust-lang#27130 seems to be fixed by the llvm 11 update. The issue is marked with needs-test, so here it is. As some historical context, the generated code was fine until 1.38, and remained unoptimized from 1.38 up until the current nightly. I've also added a pattern matching version that was fine on 1.45.2.
Configuration menu - View commit details
-
Copy full SHA for 1f1dbdc - Browse repository at this point
Copy the full SHA 1f1dbdcView commit details -
Rollup merge of rust-lang#75916 - jyn514:unify-error-reporting, r=euclio
Unify error reporting for intra-doc links - Give a suggestion even if there is no span available - Give a more accurate description of the change than 'use the disambiguator' - Write much less code Closes rust-lang#75836. r? @euclio cc @pickfire - this gets rid of 'disambiguator' like you suggested in rust-lang#75079 (comment).
Configuration menu - View commit details
-
Copy full SHA for 9cd0768 - Browse repository at this point
Copy the full SHA 9cd0768View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ee0755 - Browse repository at this point
Copy the full SHA 5ee0755View commit details -
Rollup merge of rust-lang#75985 - csmoe:issue-61076-1, r=estebank
Should not apply field accessing on enum Closes rust-lang#75977 But I'm surprised that `x.py test --stage 1` and CI didn't catch this with existing testcase. r? @estebank
Configuration menu - View commit details
-
Copy full SHA for d62a324 - Browse repository at this point
Copy the full SHA d62a324View commit details -
Rollup merge of rust-lang#75990 - rylev:arm-fastfail, r=alexcrichton
Add __fastfail for Windows on arm/aarch64 Fixes rust-lang#73215
Configuration menu - View commit details
-
Copy full SHA for 993adf3 - Browse repository at this point
Copy the full SHA 993adf3View commit details -
Rollup merge of rust-lang#76015 - ortem:fix-lldb-script, r=Mark-Simul…
…acrum Fix loading pretty-printers in rust-lldb script Pretty-printers loading in `rust-lldb` script was broken in rust-lang#72357 This fixes rust-lang#76006
Configuration menu - View commit details
-
Copy full SHA for 53f2dc8 - Browse repository at this point
Copy the full SHA 53f2dc8View commit details -
Rollup merge of rust-lang#76016 - RalfJung:miri, r=RalfJung
bump Miri Fixes rust-lang#75970 Cc @rust-lang/miri r? @ghost
Configuration menu - View commit details
-
Copy full SHA for 75f5474 - Browse repository at this point
Copy the full SHA 75f5474View commit details -
Rollup merge of rust-lang#76034 - flip1995:clippyup, r=Manishearth
Update Clippy Bi-weekly Clippy update, as per the [new policy](https://github.com/rust-lang/rust-clippy/blob/master/CONTRIBUTING.md#syncing-back-changes-in-clippy-to-rust-langrust). r? @Manishearth
Configuration menu - View commit details
-
Copy full SHA for 305c4b7 - Browse repository at this point
Copy the full SHA 305c4b7View commit details