Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
df59800b0875719b6f661cc191fa35263a29efa3
/
.
/
tests
/
ui
/
trait-bounds
/
issue-82038.rs
blob: 11de714faf014c6e9aeef555054a01b717627ad9 [
file
] [
log
] [
blame
]
// Failed bound `bool: Foo` must not point at the `Self: Clone` line
trait
Foo
{
fn
my_method
()
where
Self
:
Clone
;
}
fn
main
()
{
<
bool
as
Foo
>::
my_method
();
//~ERROR [E0277]
}