error: could not find defining uses
  --> $DIR/declared_but_never_defined.rs:6:12
   |
LL | type Bar = impl std::fmt::Debug;
   |            ^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

