Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
2323.rs
blob: 53bd15080c3b5c122bd701c4fb30c24fa43b7ae2 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
#[
lang
=
"sized"
]
trait
Sized
{}
pub
struct
S
<
T
>(
T
);
pub
fn
foo
<
T
>(
x
:
T
)
{
let
y
=
S
(
x
);
y
.
0
;
}