Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
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
}