]>
Commit | Line | Data |
---|---|---|
49aad941 FG |
1 | error[E0106]: missing lifetime specifier |
2 | --> tests/ui/expected_named.rs:5:36 | |
3 | | | |
4 | 5 | fn borrowed() -> UniquePtr<Borrowed>; | |
5 | | ^^^^^^^^ expected named lifetime parameter | |
6 | | | |
7 | = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from | |
8 | help: consider using the `'static` lifetime | |
9 | | | |
10 | 5 | fn borrowed() -> UniquePtr<Borrowed<'static>>; | |
11 | | +++++++++ |