1 error: could not find defining uses
2 --> $DIR/declared_but_not_defined_in_scope.rs:10:20
4 LL | pub type Boo = impl ::std::fmt::Debug;
5 | ^^^^^^^^^^^^^^^^^^^^^^
7 error[E0308]: mismatched types
8 --> $DIR/declared_but_not_defined_in_scope.rs:14:5
10 LL | pub type Boo = impl ::std::fmt::Debug;
11 | ---------------------- the expected opaque type
13 LL | fn bomp() -> boo::Boo {
14 | -------- expected `impl Debug` because of return type
16 | ^^ expected opaque type, found `&str`
18 = note: expected opaque type `impl Debug`
19 found reference `&'static str`
21 error: aborting due to 2 previous errors
23 For more information about this error, try `rustc --explain E0308`.