blob: 9c4aaf183d707ba8667ad59678fbe021a53dbdf1 [file] [log] [blame] [edit]
error: multiple implementations of this structure
--> tests/ui/impl.rs:10:1
|
LL | / impl MyStruct {
LL | |
LL | |
LL | | fn second() {}
LL | | }
| |_^
|
note: first implementation here
--> tests/ui/impl.rs:6:1
|
LL | / impl MyStruct {
LL | | fn first() {}
LL | | }
| |_^
= note: `-D clippy::multiple-inherent-impl` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::multiple_inherent_impl)]`
error: multiple implementations of this structure
--> tests/ui/impl.rs:16:1
|
LL | / impl<'a> MyStruct {
LL | |
LL | | fn lifetimed() {}
LL | | }
| |_^
|
note: first implementation here
--> tests/ui/impl.rs:6:1
|
LL | / impl MyStruct {
LL | | fn first() {}
LL | | }
| |_^
error: multiple implementations of this structure
--> tests/ui/impl.rs:27:5
|
LL | / impl super::MyStruct {
LL | |
LL | |
LL | | fn third() {}
LL | | }
| |_____^
|
note: first implementation here
--> tests/ui/impl.rs:6:1
|
LL | / impl MyStruct {
LL | | fn first() {}
LL | | }
| |_^
error: multiple implementations of this structure
--> tests/ui/impl.rs:49:1
|
LL | / impl WithArgs<u64> {
LL | |
LL | |
LL | | fn f3() {}
LL | | }
| |_^
|
note: first implementation here
--> tests/ui/impl.rs:46:1
|
LL | / impl WithArgs<u64> {
LL | | fn f2() {}
LL | | }
| |_^
error: multiple implementations of this structure
--> tests/ui/impl.rs:72:1
|
LL | impl OneAllowedImpl {}
| ^^^^^^^^^^^^^^^^^^^^^^
|
note: first implementation here
--> tests/ui/impl.rs:69:1
|
LL | impl OneAllowedImpl {}
| ^^^^^^^^^^^^^^^^^^^^^^
error: multiple implementations of this structure
--> tests/ui/impl.rs:85:1
|
LL | impl OneExpected {}
| ^^^^^^^^^^^^^^^^^^^
|
note: first implementation here
--> tests/ui/impl.rs:82:1
|
LL | impl OneExpected {}
| ^^^^^^^^^^^^^^^^^^^
error: multiple implementations of this structure
--> tests/ui/impl.rs:94:1
|
LL | impl Lifetime<'_> {}
| ^^^^^^^^^^^^^^^^^^^^
|
note: first implementation here
--> tests/ui/impl.rs:93:1
|
LL | impl Lifetime<'_> {}
| ^^^^^^^^^^^^^^^^^^^^
error: multiple implementations of this structure
--> tests/ui/impl.rs:98:1
|
LL | impl<'a> Lifetime<'a> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first implementation here
--> tests/ui/impl.rs:97:1
|
LL | impl<'a> Lifetime<'a> {}
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: multiple implementations of this structure
--> tests/ui/impl.rs:110:1
|
LL | impl<G> Generic<G> {}
| ^^^^^^^^^^^^^^^^^^^^^
|
note: first implementation here
--> tests/ui/impl.rs:109:1
|
LL | impl<G> Generic<G> {}
| ^^^^^^^^^^^^^^^^^^^^^
error: multiple implementations of this structure
--> tests/ui/impl.rs:124:1
|
LL | / impl<T: Debug> GenericWithBounds<T> {
LL | |
LL | | fn make_two(_two: T) -> Self {
LL | | todo!()
LL | | }
LL | | }
| |_^
|
note: first implementation here
--> tests/ui/impl.rs:118:1
|
LL | / impl<T: Debug> GenericWithBounds<T> {
LL | | fn make_one(_one: T) -> Self {
LL | | todo!()
LL | | }
LL | | }
| |_^
error: aborting due to 10 previous errors