You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking bar v0.1.0 (/tmp/bar)
warning: anonymous parameters are deprecated and will be removed in the next edition
--> src/main.rs:16:19
|
16 | fn parse_mode(&Self, Self::PartialState) {}
| ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self`
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
= note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
= note: `#[warn(anonymous_parameters)]` on by default
warning: anonymous parameters are deprecated and will be removed in the next edition
--> src/main.rs:16:26
|
16 | fn parse_mode(&Self, Self::PartialState) {}
| ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::PartialState`
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
= note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
warning: `bar` (bin "bar") generated 2 warnings (run `cargo fix --bin "bar"` to apply 2 suggestions)
Finished dev [unoptimized + debuginfo] target(s) in 0.03s
this compiles with edition 2015.
rustc:
ra:
rust-analyzer 1.77.0-nightly (595bc6f 2024-01-05)
The text was updated successfully, but these errors were encountered: