Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
wf
/
wf-trait-associated-type-bound.rs
blob: 29e305577acbc675dd36fd7ae7b20d58b2e10a29 [
file
] [
log
] [
blame
]
// Test that we check associated type bounds for WFedness.
#![
feature
(
associated_type_defaults
)]
#![
allow
(
dead_code
)]
trait
ExtraCopy
<
T
:
Copy
>
{
}
trait
SomeTrait
<
T
>
{
//~ ERROR E0277
type
Type1
:
ExtraCopy
<
T
>;
}
fn
main
()
{
}