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