We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
priv fn in an impl does not create a private method. The following code compiles and runs without error, even though shl_unit() is marked priv: https://github.com/mozilla/rust/blob/e447521c1ca2dbead5b485ddc43060b282840817/src/libstd/bigint.rs#L452
priv fn
impl
shl_unit()
priv
extern mod std; fn main() { std::bigint::BigUint::from_uint(2).shl_unit(3); }
This issue might be related to issue #3452.
priv fnin animpldoes not create a private method. The following code compiles and runs without error, even thoughshl_unit()is markedpriv: https://github.com/mozilla/rust/blob/e447521c1ca2dbead5b485ddc43060b282840817/src/libstd/bigint.rs#L452This issue might be related to issue #3452.