Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
traits
/
trait-alias-syntax.rs
blob: 5948d45b6987fcd778123f9e06a1f74e77d6b7c0 [
file
] [
log
] [
blame
]
#![
feature
(
trait_alias
)]
trait
Foo
{}
auto
trait
A
=
Foo
;
//~ ERROR trait aliases cannot be `auto`
unsafe
trait
B
=
Foo
;
//~ ERROR trait aliases cannot be `unsafe`
fn
main
()
{}