File tree 3 files changed +4
-5
lines changed
3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ error[E0412]: cannot find type `PhantomData` in this scope
4
4
LL | _n: PhantomData,
5
5
| ^^^^^^^^^^^ not found in this scope
6
6
|
7
- help: consider importing one of these items
8
- |
9
- LL + use core::marker::PhantomData;
7
+ help: consider importing this struct
10
8
|
11
9
LL + use std::marker::PhantomData;
12
10
|
Original file line number Diff line number Diff line change @@ -363,6 +363,7 @@ impl RetOtherSelf<T> {
363
363
}
364
364
}
365
365
366
+ #[ allow( dependency_on_unit_never_type_fallback) ]
366
367
mod issue7344 {
367
368
struct RetImplTraitSelf < T > ( T ) ;
368
369
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ LL | | }
87
87
| |_________^
88
88
89
89
error: methods called `new` usually return `Self`
90
- --> tests/ui/new_ret_no_self.rs:380 :9
90
+ --> tests/ui/new_ret_no_self.rs:381 :9
91
91
|
92
92
LL | / fn new(t: T) -> impl Into<i32> {
93
93
LL | |
@@ -96,7 +96,7 @@ LL | | }
96
96
| |_________^
97
97
98
98
error: methods called `new` usually return `Self`
99
- --> tests/ui/new_ret_no_self.rs:402 :9
99
+ --> tests/ui/new_ret_no_self.rs:403 :9
100
100
|
101
101
LL | / fn new(t: T) -> impl Trait2<(), i32> {
102
102
LL | |
You can’t perform that action at this time.
0 commit comments