summaryrefslogtreecommitdiffstats
path: root/tests/ui/wf/wf-in-foreign-fn-decls-issue-80468.stderr
blob: 0af4ab022e1ebb71df1b40aa33b3ac8b20cdea7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0726]: implicit elided lifetime not allowed here
  --> $DIR/wf-in-foreign-fn-decls-issue-80468.rs:13:16
   |
LL | impl Trait for Ref {}
   |                ^^^ expected lifetime parameter
   |
help: indicate the anonymous lifetime
   |
LL | impl Trait for Ref<'_> {}
   |                   ++++

error: aborting due to 1 previous error

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