Skip to content

Commit 2af31da

Browse files
authored
Rollup merge of rust-lang#67168 - ryanswilson59:master, r=Dylan-DPC
corrected comment in E0478 I believe this fixes the issue that I opened, rust-lang#67040, about E0478 being contradictory.
2 parents 9af3eec + 2183a94 commit 2af31da

File tree

1 file changed

+2
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+2
-2
lines changed

src/librustc_error_codes/error_codes/E0478.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ this issue, you need to specify it:
2121
```
2222
trait Wedding<'t>: 't { }
2323
24-
struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'kiss must live
25-
// longer than 'SnowWhite.
24+
struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'SnowWhite
25+
// must live longer than 'kiss.
2626
child: Box<Wedding<'kiss> + 'SnowWhite>, // And now it's all good!
2727
}
2828
```

0 commit comments

Comments
 (0)