Auto merge of #121870 - matthiaskrgr:rollup-mfpa3jx, r=matthiaskrgr
Rollup of 11 pull requests Successful merges: - #111505 (Made `INVALID_DOC_ATTRIBUTES` lint deny by default) - #120305 (Delete line if suggestion would replace it with an empty line) - #121153 (Suggest removing superfluous semicolon when statements used as expression) - #121497 (`-Znext-solver=coherence`: suggest increasing recursion limit) - #121634 (Clarify behavior of slice prefix/suffix operations in case of equality) - #121706 (match lowering: Remove hacky branch in sort_candidate) - #121730 (Add profiling support to AIX) - #121750 (match lowering: Separate the `bool` case from other integers in `TestKind`) - #121803 (Never say "`Trait` is implemented for `{type error}`") - #121811 (Move sanitizer ui tests to sanitizer directory) - #121824 (Implement missing ABI structures in StableMIR) r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
commit
eaee1e9453
137 changed files with 1165 additions and 708 deletions
|
|
@ -19,12 +19,10 @@ struct FooDefault<'a> {
|
|||
}
|
||||
|
||||
|
||||
|
||||
#[derive(Default)]
|
||||
struct TupleDefault(bool, i32, u64);
|
||||
|
||||
|
||||
|
||||
struct FooND1 {
|
||||
a: bool,
|
||||
}
|
||||
|
|
@ -73,7 +71,6 @@ impl Default for FooNDVec {
|
|||
struct StrDefault<'a>(&'a str);
|
||||
|
||||
|
||||
|
||||
#[derive(Default)]
|
||||
struct AlreadyDerived(i32, bool);
|
||||
|
||||
|
|
@ -96,7 +93,6 @@ mac!(0);
|
|||
#[derive(Default)]
|
||||
struct Y(u32);
|
||||
|
||||
|
||||
struct RustIssue26925<T> {
|
||||
a: Option<T>,
|
||||
}
|
||||
|
|
@ -132,12 +128,10 @@ struct WithoutSelfCurly {
|
|||
}
|
||||
|
||||
|
||||
|
||||
#[derive(Default)]
|
||||
struct WithoutSelfParan(bool);
|
||||
|
||||
|
||||
|
||||
// https://github.com/rust-lang/rust-clippy/issues/7655
|
||||
|
||||
pub struct SpecializedImpl2<T> {
|
||||
|
|
@ -184,7 +178,6 @@ pub struct RepeatDefault1 {
|
|||
}
|
||||
|
||||
|
||||
|
||||
pub struct RepeatDefault2 {
|
||||
a: [i8; 33],
|
||||
}
|
||||
|
|
@ -216,7 +209,6 @@ pub enum SimpleEnum {
|
|||
}
|
||||
|
||||
|
||||
|
||||
pub enum NonExhaustiveEnum {
|
||||
Foo,
|
||||
#[non_exhaustive]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
struct Foo;
|
||||
|
||||
|
||||
|
||||
// shouldn't cause an error
|
||||
struct Bar;
|
||||
|
||||
|
|
@ -19,5 +18,4 @@ impl Drop for Bar {
|
|||
struct Baz;
|
||||
|
||||
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
|
|
@ -6,13 +6,10 @@
|
|||
extern crate proc_macros;
|
||||
use proc_macros::external;
|
||||
|
||||
|
||||
pub fn must_use_default() {}
|
||||
|
||||
|
||||
pub fn must_use_unit() -> () {}
|
||||
|
||||
|
||||
pub fn must_use_with_note() {}
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
use core;
|
||||
|
||||
|
||||
|
||||
use serde as edres;
|
||||
|
||||
pub use serde;
|
||||
|
|
|
|||
|
|
@ -3797,9 +3797,9 @@
|
|||
"ui/rust-2018/uniform-paths/issue-56596-2.rs",
|
||||
"ui/rust-2018/uniform-paths/issue-56596.rs",
|
||||
"ui/rust-2018/uniform-paths/issue-87932.rs",
|
||||
"ui/sanitize/issue-111184-coroutine-witness.rs",
|
||||
"ui/sanitize/issue-114275-cfi-const-expr-in-arry-len.rs",
|
||||
"ui/sanitize/issue-72154-lifetime-markers.rs",
|
||||
"ui/sanitizer/issue-111184-cfi-coroutine-witness.rs",
|
||||
"ui/sanitizer/issue-114275-cfi-const-expr-in-arry-len.rs",
|
||||
"ui/sanitizer/issue-72154-address-lifetime-markers.rs",
|
||||
"ui/self/issue-61882-2.rs",
|
||||
"ui/self/issue-61882.rs",
|
||||
"ui/simd/intrinsic/issue-85855.rs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue