Skip to content

Commit

Permalink
Rollup merge of rust-lang#67168 - ryanswilson59:master, r=Dylan-DPC
Browse files Browse the repository at this point in the history
corrected comment in E0478

I believe this fixes the issue that I opened,  rust-lang#67040, about E0478 being contradictory.
  • Loading branch information
JohnTitor authored Dec 10, 2019
2 parents 9af3eec + 2183a94 commit 2af31da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_error_codes/error_codes/E0478.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ this issue, you need to specify it:
```
trait Wedding<'t>: 't { }
struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'kiss must live
// longer than 'SnowWhite.
struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'SnowWhite
// must live longer than 'kiss.
child: Box<Wedding<'kiss> + 'SnowWhite>, // And now it's all good!
}
```

0 comments on commit 2af31da

Please sign in to comment.