rust/src/test/ui/issues/issue-56943.rs
David Wood 1db42756f7
Print visible name for types as well as modules.
This commit extends previous work in #55007 where the name from the
visible parent was used for modules. Now, we also print the name from
the visible parent for types.
2019-01-21 13:25:15 +01:00

9 lines
155 B
Rust

// aux-build:issue-56943.rs
extern crate issue_56943;
fn main() {
let _: issue_56943::S = issue_56943::S2;
//~^ ERROR mismatched types [E0308]
}