Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
d91e86e963128ebd9e0baee42d1504670dab1565
/
.
/
tests
/
ui
/
sized-owned-pointer.rs
blob: b35c0f91abd2c1d0052db81f122b8b159f43401c [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
dead_code
)]
// Possibly-dynamic size of typaram should be cleared at pointer boundary.
fn
bar
<
T
:
Sized
>()
{
}
fn
foo
<
T
>()
{
bar
::<
Box
<
T
>>()
}
pub
fn
main
()
{
}