Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
static
/
static-method-privacy.rs
blob: 9ee59b320edcdd5727d87b3b7031246086e0145d [
file
] [
log
] [
blame
]
mod
a
{
pub
struct
S
;
impl
S
{
fn
new
()
->
S
{
S
}
}
}
fn
main
()
{
let
_
=
a
::
S
::
new
();
//~ ERROR associated function `new` is private
}