We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14195e1 commit f430fcaCopy full SHA for f430fca
src/librustc_error_codes/error_codes/E0478.md
@@ -21,8 +21,8 @@ this issue, you need to specify it:
21
```
22
trait Wedding<'t>: 't { }
23
24
-struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'kiss must live
25
- // longer than 'SnowWhite.
+struct Prince<'kiss, 'SnowWhite: 'kiss> { // You say here that 'SnowWhite must live
+ // longer than 'kiss.
26
child: Box<Wedding<'kiss> + 'SnowWhite>, // And now it's all good!
27
}
28
0 commit comments