We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46f2b41 commit 7f55c83Copy full SHA for 7f55c83
src/librustc_error_codes/error_codes/E0759.md
@@ -1,4 +1,4 @@
1
-A `'static` requirement in a return type involving a trait is not fulfilled.
+Return type involving a trait did not require `'static` lifetime.
2
3
Erroneous code examples:
4
@@ -14,7 +14,7 @@ fn bar(x: &i32) -> Box<dyn Debug> { // error!
14
}
15
```
16
17
-These examples have the same semantics as the following:
+Add `'static` requirement to fix them:
18
19
```compile_fail,E0759
20
# use std::fmt::Debug;
0 commit comments