Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
never_type
/
auto-traits.rs
blob: 8a02720ab27fde69485a67dc72900308ff890609 [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
optin_builtin_traits
)]
fn
main
()
{
enum
Void
{}
auto
trait
Auto
{}
fn
assert_auto
<
T
:
Auto
>()
{}
assert_auto
::<
Void
>();
assert_auto
::<!>();
fn
assert_send
<
T
:
Send
>()
{}
assert_send
::<
Void
>();
assert_send
::<!>();
}