Sign in
fuchsia
/
third_party
/
rust
/
7c31d54619a1c774fc5ad067f336ed92b6421584
/
.
/
src
/
test
/
ui
/
issue-18986.rs
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`
}
}