fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.2 KiB29 linesraw
1error: feature may misspelled as features
2  --> $DIR/cfg_features.rs:4:11
3   |
4LL |     #[cfg(features = "not-really-a-feature")]
5   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `feature = "not-really-a-feature"`
6   |
7   = note: `-D clippy::maybe-misused-cfg` implied by `-D warnings`
8   = help: to override `-D warnings` add `#[allow(clippy::maybe_misused_cfg)]`
9
10error: feature may misspelled as features
11  --> $DIR/cfg_features.rs:9:34
12   |
13LL |     #[cfg(all(feature = "right", features = "wrong"))]
14   |                                  ^^^^^^^^^^^^^^^^^^ help: use: `feature = "wrong"`
15
16error: feature may misspelled as features
17  --> $DIR/cfg_features.rs:13:15
18   |
19LL |     #[cfg(all(features = "wrong1", any(feature = "right", features = "wrong2", feature, features)))]
20   |               ^^^^^^^^^^^^^^^^^^^ help: use: `feature = "wrong1"`
21
22error: feature may misspelled as features
23  --> $DIR/cfg_features.rs:13:59
24   |
25LL |     #[cfg(all(features = "wrong1", any(feature = "right", features = "wrong2", feature, features)))]
26   |                                                           ^^^^^^^^^^^^^^^^^^^ help: use: `feature = "wrong2"`
27
28error: aborting due to 4 previous errors
29