Sign in
android
/
toolchain
/
rustc
/
d59a28787b7ba06edbd1e4528a42b66d67dc6a19
/
.
/
src
/
test
/
ui
/
auto-traits
/
issue-23080-2.rs
blob: cb4cf6de1efe976de9bd93fbc45e7cc186c22a64 [
file
] [
log
] [
blame
]
#![
feature
(
auto_traits
)]
#![
feature
(
negative_impls
)]
unsafe
auto
trait
Trait
{
type
Output
;
//~ ERROR E0380
}
fn
call_method
<
T
:
Trait
>(
x
:
T
)
{}
fn
main
()
{
// ICE
call_method
(());
}