blob: 1c431a45ab23e7496e41d701d36493916366d237 [file] [log] [blame]
// aux-build:use_from_trait_xc.rs
extern crate use_from_trait_xc;
pub use use_from_trait_xc::Trait;
fn main() {
match () {
Trait { x: 42 } => () //~ ERROR expected struct, variant or union type, found trait `Trait`
}
}