Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
issues
/
issue-24389.rs
blob: 95bb2af9b25c5b94cf1c2416b647da0359ed6c06 [
file
] [
log
] [
blame
]
//@ check-pass
#![
allow
(
dead_code
)]
struct
Foo
;
impl
Foo
{
fn
new
()
->
Self
{
Foo
}
fn
bar
()
{
Self
::
new
();
}
}
fn
main
()
{}