summary refs log tree commit diff
path: root/src/test/ui/impl-trait/issue-67166.stderr
blob: 14c78684e3e2fb48898b30e551dfaad751b20287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0106]: missing lifetime specifier
  --> $DIR/issue-67166.rs:7:31
   |
LL |     let _foo: Box<impl Copy + '_> = Box::new(());
   |                               ^^ expected named lifetime parameter
   |
help: consider introducing a named lifetime parameter
   |
LL | pub fn run<'a>() {
LL |     let _foo: Box<impl Copy + 'a> = Box::new(());
   |

error: aborting due to previous error

For more information about this error, try `rustc --explain E0106`.