Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
auto-traits
/
issue-23080-2.rs
blob: 7f6b9e3fba79fc1703d571295d205bb1aa4d86af [
file
] [
log
] [
blame
]
//~ ERROR
#![
feature
(
optin_builtin_traits
)]
#![
feature
(
negative_impls
)]
unsafe
auto
trait
Trait
{
type
Output
;
//~ ERROR E0380
}
fn
call_method
<
T
:
Trait
>(
x
:
T
)
{}
fn
main
()
{
// ICE
call_method
(());
}