Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
trivial-bounds
/
trivial-bounds-inconsistent-well-formed.rs
blob: cab2423d25de2408f8ecc472218a70b9827d3a0e [
file
] [
log
] [
blame
]
// run-pass
// Test that inconsistent bounds are used in well-formedness checks
#![
feature
(
trivial_bounds
)]
use
std
::
fmt
::
Debug
;
pub
fn
foo
()
where
Vec
<
str
>:
Debug
,
str
:
Copy
{
let
x
=
vec
![*
"1"
];
println
!(
"{:?}"
,
x
);
}
fn
main
()
{}