]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/declared_but_never_defined.stderr
Rollup merge of #92715 - chordtoll:empty-string, r=davidtwco
[rust.git] / src / test / ui / type-alias-impl-trait / declared_but_never_defined.stderr
1 error: unconstrained opaque type
2   --> $DIR/declared_but_never_defined.rs:6:12
3    |
4 LL | type Bar = impl std::fmt::Debug;
5    |            ^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `Bar` must be used in combination with a concrete type within the same module
8
9 error: aborting due to previous error
10