Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
2782.rs
blob: 3bd00b202f08f1e43813cc9d37ea6a77a74edd13 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
#[
lang
=
"sized"
]
pub
trait
Sized
{}
struct
S
<
T
>(
T
);
impl
S
<
u8
>
{
fn
foo
<
U
>()
{}
}
fn
main
()
{
S
::
foo
::<
i32
>();
}