Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-20162.rs
blob: b7f9caee8948f5096a4685c3724e1510409d2e59 [
file
] [
log
] [
blame
]
struct
X
{
x
:
i32
}
fn
main
()
{
let
mut
b
:
Vec
<
X
>
=
vec
![];
b
.
sort
();
//~^ ERROR `X: std::cmp::Ord` is not satisfied
}