Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
3402-2.rs
blob: cd5c865e9ed44f33d1f8db19f3a7b6daf5a05f0e [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
#![
feature
(
lang_items
)]
pub
struct
Bar
(
i32
);
#[
lang
=
"sized"
]
trait
Sized
{}
pub
trait
A
:
Sized
{
fn
foo
()
->
Self
;
}
impl
A
for
i32
{
fn
foo
()
->
Self
{
0
}
}
pub
fn
bar
()
{
let
_
=
Bar
(
A
::
foo
());
}