blob: 1c431a45ab23e7496e41d701d36493916366d237 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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`
}
}
|