We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
]
1 parent de3e95b commit deadf07Copy full SHA for deadf07
compiler/rustc_error_codes/src/error_codes/E0311.md
@@ -16,7 +16,7 @@ fn with_restriction<'a, T: 'a>(x: &'a ()) -> &'a () {
16
Why doesn't this code compile? It helps to look at the lifetime bounds that are
17
automatically adding by the compiler. For more details see the Rust
18
Documentation for Lifetime Elision:
19
-https://doc.rust-lang.org/reference/lifetime-elision.html]
+https://doc.rust-lang.org/reference/lifetime-elision.html.
20
21
There are two lifetimes being passed into the `no_restriction()` function: one
22
associated with the generic type `T` parameter and the other with the input
0 commit comments