1 error: unconstrained opaque type
2 --> $DIR/declared_but_not_defined_in_scope.rs:7:20
4 LL | pub type Boo = impl ::std::fmt::Debug;
5 | ^^^^^^^^^^^^^^^^^^^^^^
7 = note: `Boo` must be used in combination with a concrete type within the same module
9 error[E0308]: mismatched types
10 --> $DIR/declared_but_not_defined_in_scope.rs:11:5
12 LL | pub type Boo = impl ::std::fmt::Debug;
13 | ---------------------- the expected opaque type
15 LL | fn bomp() -> boo::Boo {
16 | -------- expected `Boo` because of return type
18 | ^^ expected opaque type, found `&str`
20 = note: expected opaque type `Boo`
21 found reference `&'static str`
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0308`.