You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tests/ui/impl-trait/auto-trait-leak.stderr
+1-5
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,12 @@ LL | send(cycle1().clone());
6
6
| |
7
7
| required by a bound introduced by this call
8
8
|
9
+
= note: fetching the hidden types of an opaque inside of the defining scope is not supported. You can try moving the opaque type and the item that actually registers a hidden type into a new submodule
9
10
note: opaque type is declared here
10
11
--> $DIR/auto-trait-leak.rs:11:16
11
12
|
12
13
LL | fn cycle1() -> impl Clone {
13
14
| ^^^^^^^^^^
14
-
note: this item depends on auto traits of the hidden type, but may also be registering the hidden type. This is not supported right now. You can try moving the opaque type and the item that actually registers a hidden type into a new submodule
0 commit comments