This commit is contained in:
Bastian Kauschke 2020-07-08 11:42:59 +02:00
parent a7fe4df04a
commit 805c44d5d3
3 changed files with 48 additions and 8 deletions

View file

@ -9,7 +9,7 @@ note: ...which requires borrow-checking `cycle1`...
|
LL | fn cycle1() -> impl Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
note: ...which requires processing the potential const argument `cycle1`...
note: ...which requires processing `cycle1`...
--> $DIR/auto-trait-leak.rs:12:1
|
LL | fn cycle1() -> impl Clone {
@ -45,7 +45,7 @@ note: ...which requires borrow-checking `cycle2`...
|
LL | fn cycle2() -> impl Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
note: ...which requires processing the potential const argument `cycle2`...
note: ...which requires processing `cycle2`...
--> $DIR/auto-trait-leak.rs:20:1
|
LL | fn cycle2() -> impl Clone {