Skip to content

Commit 0201305

Browse files
committed
Update ui tests
1 parent 630350d commit 0201305

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/ui/impl-trait/auto-trait-leak.stderr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error[E0391]: cycle detected when processing `cycle1::{{exist-impl-Trait}}`
1+
error[E0391]: cycle detected when processing `cycle1::{{impl-Trait}}`
22
--> $DIR/auto-trait-leak.rs:24:16
33
|
44
LL | fn cycle1() -> impl Clone {
@@ -10,7 +10,7 @@ note: ...which requires processing `cycle1`...
1010
LL | fn cycle1() -> impl Clone {
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^
1212
note: ...which requires evaluating trait selection obligation `impl std::clone::Clone: std::marker::Send`...
13-
note: ...which requires processing `cycle2::{{exist-impl-Trait}}`...
13+
note: ...which requires processing `cycle2::{{impl-Trait}}`...
1414
--> $DIR/auto-trait-leak.rs:33:16
1515
|
1616
LL | fn cycle2() -> impl Clone {
@@ -21,9 +21,9 @@ note: ...which requires processing `cycle2`...
2121
LL | fn cycle2() -> impl Clone {
2222
| ^^^^^^^^^^^^^^^^^^^^^^^^^
2323
note: ...which requires evaluating trait selection obligation `impl std::clone::Clone: std::marker::Send`...
24-
= note: ...which again requires processing `cycle1::{{exist-impl-Trait}}`, completing the cycle
24+
= note: ...which again requires processing `cycle1::{{impl-Trait}}`, completing the cycle
2525

26-
error[E0391]: cycle detected when processing `cycle1::{{exist-impl-Trait}}`
26+
error[E0391]: cycle detected when processing `cycle1::{{impl-Trait}}`
2727
--> $DIR/auto-trait-leak.rs:24:16
2828
|
2929
LL | fn cycle1() -> impl Clone {
@@ -35,7 +35,7 @@ note: ...which requires processing `cycle1`...
3535
LL | fn cycle1() -> impl Clone {
3636
| ^^^^^^^^^^^^^^^^^^^^^^^^^
3737
note: ...which requires evaluating trait selection obligation `impl std::clone::Clone: std::marker::Send`...
38-
note: ...which requires processing `cycle2::{{exist-impl-Trait}}`...
38+
note: ...which requires processing `cycle2::{{impl-Trait}}`...
3939
--> $DIR/auto-trait-leak.rs:33:16
4040
|
4141
LL | fn cycle2() -> impl Clone {
@@ -45,7 +45,7 @@ note: ...which requires processing `cycle2`...
4545
|
4646
LL | fn cycle2() -> impl Clone {
4747
| ^^^^^^^^^^^^^^^^^^^^^^^^^
48-
= note: ...which again requires processing `cycle1::{{exist-impl-Trait}}`, completing the cycle
48+
= note: ...which again requires processing `cycle1::{{impl-Trait}}`, completing the cycle
4949

5050
error[E0277]: the trait bound `std::rc::Rc<std::string::String>: std::marker::Send` is not satisfied in `impl std::clone::Clone`
5151
--> $DIR/auto-trait-leak.rs:27:5

0 commit comments

Comments
 (0)