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