Sign in
fuchsia
/
third_party
/
rust
/
a7a6dedfe661a6d9d181afeb0fbaa894fcb7362b
/
.
/
src
/
test
/
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
()
{
}