Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
trait-bounds
/
issue-93008.rs
blob: f4d21a160b695399672a77bf24816df512f2d858 [
file
] [
log
] [
blame
]
// build-pass
// compile-flags: -Zmir-opt-level=3 --crate-type=lib
#![
feature
(
trivial_bounds
)]
#![
allow
(
trivial_bounds
)]
trait
Foo
{
fn
test
(
self
);
}
fn
baz
<
T
>()
where
&
'
static
str
:
Foo
,
{
"Foo"
.
test
()
}