Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
sized-owned-pointer.rs
blob: 2abf0a1e0c2c9ef91ce111eee546c9df6ff92825 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// Possibly-dynamic size of typaram should be cleared at pointer boundary.
// pretty-expanded FIXME #23616
fn
bar
<
T
:
Sized
>()
{
}
fn
foo
<
T
>()
{
bar
::<
Box
<
T
>>()
}
pub
fn
main
()
{
}