Sign in
android
/
toolchain
/
rustc
/
d2dbbcd40813d506244f1255bc2c84088a0197e1
/
.
/
src
/
test
/
ui
/
chalkify
/
lower_env2.rs
blob: b5432ce0e307bb9e2bf5c024a4dda0f0906aff28 [
file
] [
log
] [
blame
]
// check-pass
// compile-flags: -Z chalk
#![
allow
(
dead_code
)]
trait
Foo
{
}
struct
S
<
'
a
,
T
:
?
Sized
>
where T
:
Foo
{
data
:
&
'
a T
,
}
fn
bar
<
T
:
Foo
>(
_x
:
S
<
'
_
,
T
>)
{
// note that we have an implicit `T: Sized` bound
}
fn
main
()
{
}