summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-trait/no-trait.stderr
blob: 3a636f2524fffe975c21bc5b9d58813bb35cd699 (plain)
1
2
3
4
5
6
7
8
error: at least one trait must be specified
  --> $DIR/no-trait.rs:1:11
   |
LL | fn f() -> impl 'static {}
   |           ^^^^^^^^^^^^

error: aborting due to previous error