Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
wf
/
wf-trait-bound.rs
blob: d8746ba4d6e526a6e96610f168dbc86ac45789ec [
file
] [
log
] [
blame
]
// Test that we check supertrait bounds for WFedness.
#![
feature
(
associated_type_defaults
)]
#![
allow
(
dead_code
)]
trait
ExtraCopy
<
T
:
Copy
>
{
}
trait
SomeTrait
<
T
,
U
>
//~ ERROR E0277
where T
:
ExtraCopy
<
U
>
{
}
fn
main
()
{
}