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.
mut self
#[deny(unused_mut)]; struct Foo; impl Foo { fn foo(mut self) {} } fn main() {}
compiles without error, even though self is never used mutably.
self
mut