summaryrefslogtreecommitdiffstats
path: root/tests/ui/type-alias-impl-trait/declared_but_never_defined.stderr
blob: 60bc24320a301c25bf90ce300ee2a1813351d4b4 (plain)
1
2
3
4
5
6
7
8
9
10
error: unconstrained opaque type
  --> $DIR/declared_but_never_defined.rs:6:12
   |
LL | type Bar = impl std::fmt::Debug;
   |            ^^^^^^^^^^^^^^^^^^^^
   |
   = note: `Bar` must be used in combination with a concrete type within the same module

error: aborting due to previous error