Sign in
rust
/
rust-lang
/
rust
/
refs/heads/stable
/
.
/
tests
/
ui
/
sized-borrowed-pointer.rs
blob: bd213c067db5d673cab37e8428b865d09dabe3c9 [
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
::<&
T
>()
}
pub
fn
main
()
{
}