]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/unactionable_diagnostic.stderr
Rollup merge of #105555 - krasimirgg:llvm-int-opt-2, r=cuviper
[rust.git] / src / test / ui / impl-trait / unactionable_diagnostic.stderr
1 error[E0309]: the parameter type `T` may not live long enough
2   --> $DIR/unactionable_diagnostic.rs:21:5
3    |
4 LL |     foo(post, x)
5    |     ^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds
6    |
7 help: consider adding an explicit lifetime bound...
8    |
9 LL | pub fn bar<'t, T: 't>(
10    |                 ++++
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0309`.