]> git.lizzy.rs Git - rust.git/commitdiff
Suggest minimal subset features in `incomplete_features` lint
authorYuki Okushi <huyuumi.dev@gmail.com>
Tue, 13 Oct 2020 23:35:32 +0000 (08:35 +0900)
committerYuki Okushi <huyuumi.dev@gmail.com>
Fri, 16 Oct 2020 17:01:08 +0000 (02:01 +0900)
88 files changed:
compiler/rustc_lint/src/builtin.rs
src/test/ui/array-slice-vec/match_arr_unknown_len.stderr
src/test/ui/associated-types/defaults-specialization.stderr
src/test/ui/binding/const-param.stderr
src/test/ui/coherence/coherence-inherited-assoc-ty-cycle-err.stderr
src/test/ui/const-generics/defaults/wrong-order.full.stderr
src/test/ui/const-generics/issues/issue-56445.full.stderr
src/test/ui/const-generics/issues/issue-60818-struct-constructors.full.stderr
src/test/ui/const-generics/issues/issue-61336-1.full.stderr
src/test/ui/const-generics/issues/issue-61336-2.full.stderr
src/test/ui/const-generics/issues/issue-61336.full.stderr
src/test/ui/const-generics/issues/issue-61422.full.stderr
src/test/ui/const-generics/issues/issue-61432.full.stderr
src/test/ui/const-generics/issues/issue-61747.full.stderr
src/test/ui/const-generics/occurs-check/unify-fixpoint.stderr
src/test/ui/consts/trait_specialization.stderr
src/test/ui/error-codes/E0520.stderr
src/test/ui/error-codes/E0730.stderr
src/test/ui/error-codes/E0771.stderr
src/test/ui/hygiene/generic_params.stderr
src/test/ui/hygiene/issue-61574-const-parameters.stderr
src/test/ui/impl-trait/equality-rpass.stderr
src/test/ui/impl-trait/equality.stderr
src/test/ui/impl-trait/equality2.stderr
src/test/ui/issues/issue-35376.stderr
src/test/ui/issues/issue-55380.stderr
src/test/ui/issues/issue-59508-1.stderr
src/test/ui/overlap-doesnt-conflict-with-specialization.stderr
src/test/ui/parser/assoc-static-semantic-fail.stderr
src/test/ui/parser/default.stderr
src/test/ui/parser/trait-item-with-defaultness-fail-semantic.stderr
src/test/ui/polymorphization/const_parameters/closures.stderr
src/test/ui/polymorphization/const_parameters/functions.stderr
src/test/ui/polymorphization/generators.stderr
src/test/ui/resolve/issue-65035-static-with-parent-generics.stderr
src/test/ui/rfc-2497-if-let-chains/disallowed-positions.stderr
src/test/ui/specialization/assoc-ty-graph-cycle.stderr
src/test/ui/specialization/cross-crate-defaults.stderr
src/test/ui/specialization/deafult-associated-type-bound-1.stderr
src/test/ui/specialization/deafult-associated-type-bound-2.stderr
src/test/ui/specialization/deafult-generic-associated-type-bound.stderr
src/test/ui/specialization/defaultimpl/allowed-cross-crate.stderr
src/test/ui/specialization/defaultimpl/out-of-order.stderr
src/test/ui/specialization/defaultimpl/overlap-projection.stderr
src/test/ui/specialization/defaultimpl/projection.stderr
src/test/ui/specialization/defaultimpl/specialization-no-default.stderr
src/test/ui/specialization/defaultimpl/specialization-trait-item-not-implemented-rpass.stderr
src/test/ui/specialization/defaultimpl/specialization-trait-item-not-implemented.stderr
src/test/ui/specialization/defaultimpl/specialization-trait-not-implemented.stderr
src/test/ui/specialization/defaultimpl/specialization-wfcheck.stderr
src/test/ui/specialization/defaultimpl/validation.stderr
src/test/ui/specialization/issue-36804.stderr
src/test/ui/specialization/issue-38091-2.stderr
src/test/ui/specialization/issue-38091.stderr
src/test/ui/specialization/issue-39448.stderr
src/test/ui/specialization/issue-39618.stderr
src/test/ui/specialization/issue-50452.stderr
src/test/ui/specialization/issue-52050.stderr
src/test/ui/specialization/issue-63716-parse-async.stderr
src/test/ui/specialization/issue-70442.stderr
src/test/ui/specialization/non-defaulted-item-fail.stderr
src/test/ui/specialization/specialization-allowed-cross-crate.stderr
src/test/ui/specialization/specialization-assoc-fns.stderr
src/test/ui/specialization/specialization-basics.stderr
src/test/ui/specialization/specialization-cross-crate.stderr
src/test/ui/specialization/specialization-default-methods.stderr
src/test/ui/specialization/specialization-default-projection.stderr
src/test/ui/specialization/specialization-default-types.stderr
src/test/ui/specialization/specialization-no-default.stderr
src/test/ui/specialization/specialization-on-projection.stderr
src/test/ui/specialization/specialization-out-of-order.stderr
src/test/ui/specialization/specialization-overlap-negative.stderr
src/test/ui/specialization/specialization-overlap-projection.stderr
src/test/ui/specialization/specialization-overlap.stderr
src/test/ui/specialization/specialization-polarity.stderr
src/test/ui/specialization/specialization-projection-alias.stderr
src/test/ui/specialization/specialization-projection.stderr
src/test/ui/specialization/specialization-super-traits.stderr
src/test/ui/specialization/specialization-translate-projections-with-lifetimes.stderr
src/test/ui/specialization/specialization-translate-projections-with-params.stderr
src/test/ui/specialization/specialization-translate-projections.stderr
src/test/ui/traits/negative-impls/negative-default-impls.stderr
src/test/ui/traits/negative-impls/negative-specializes-negative.stderr
src/test/ui/traits/negative-impls/negative-specializes-positive-item.stderr
src/test/ui/traits/negative-impls/negative-specializes-positive.stderr
src/test/ui/traits/negative-impls/positive-specializes-negative.stderr
src/test/ui/transmute-specialization.stderr
src/test/ui/type-alias-impl-trait/assoc-type-const.stderr

index abd899e8db4d33b6d9447bc7078dd15d296281b1..a7db9199665ee5e2db4f0e0ec1873d25534a4dad 100644 (file)
@@ -2288,12 +2288,20 @@ fn check_crate(&mut self, cx: &EarlyContext<'_>, _: &ast::Crate) {
                             n, n,
                         ));
                     }
+                    if HAS_MIN_FEATURES.contains(&name) {
+                        builder.help(&format!(
+                            "consider using `min_{}` instead, which is more stable and complete",
+                            name,
+                        ));
+                    }
                     builder.emit();
                 })
             });
     }
 }
 
+const HAS_MIN_FEATURES: &[Symbol] = &[sym::const_generics, sym::specialization];
+
 declare_lint! {
     /// The `invalid_value` lint detects creating a value that is not valid,
     /// such as a NULL reference.
index 0ad05b3adeb88faf45c31ec42b49a4770c0c5ce0..7c1a92c79d973f297e5f690e6215f25daf90016d 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error[E0308]: mismatched types
   --> $DIR/match_arr_unknown_len.rs:6:9
index 09a8c8f8a88a205e2828f43dad1a86ee527740ec..920f8322813fee7cebbbaf1557197ebdb172330b 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(associated_type_defaults, specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0053]: method `make` has an incompatible type for trait
   --> $DIR/defaults-specialization.rs:19:18
index 316fac623254825469c320b309ff395f21f28381..d3d06a2d834fc9951b3e81998c4414e7dc4fd762 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error[E0158]: const parameters cannot be referenced in patterns
   --> $DIR/const-param.rs:7:9
index 7e140480b77d4d0eebe0fc27dbf35e80b3eabd2e..f3edf1c350f508d992573b349066f4b91ded2ddc 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0391]: cycle detected when building specialization graph of trait `Trait`
   --> $DIR/coherence-inherited-assoc-ty-cycle-err.rs:9:1
index c51028d5b2001e96ef6c4c593f0aec737c2d0d93..99f46309bf6ff37c709a035a2961909a0f67d2e4 100644 (file)
@@ -14,6 +14,7 @@ LL | #![cfg_attr(full, feature(const_generics))]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error: aborting due to previous error; 1 warning emitted
 
index d853ec5015ed268cddfa0c44a79d1967e768ef0a..50e914185511297cc9f0ba233e74d45392f6ca32 100644 (file)
@@ -6,6 +6,7 @@ LL | #![cfg_attr(full, feature(const_generics))]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error[E0771]: use of non-static lifetime `'a` in const generic
   --> $DIR/issue-56445.rs:9:26
index c03b7252a3c8530895ac946e0fb03026dab57ada..cc014ea429d5c200d4295ea93e1cf2451fde4b12 100644 (file)
@@ -6,6 +6,7 @@ LL | #![cfg_attr(full, feature(const_generics))]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index f18728eabbb437b7dca909166d01f1197f109da8..3a9f819a6262cb3dac1b580e63383044a09e46c9 100644 (file)
@@ -6,6 +6,7 @@ LL | #![cfg_attr(full, feature(const_generics))]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index ef6e60084a5f090ff328db39cd304bdacef262c6..883ebbef3e80dff20f507a0ffcf8620f4e327f48 100644 (file)
@@ -6,6 +6,7 @@ LL | #![cfg_attr(full, feature(const_generics))]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error[E0277]: the trait bound `T: Copy` is not satisfied
   --> $DIR/issue-61336-2.rs:10:5
index bdfdffd941d20ba864855ec67561dc95695f5406..3863da8da05484060e236e17d4e35d0d15c6eba4 100644 (file)
@@ -6,6 +6,7 @@ LL | #![cfg_attr(full, feature(const_generics))]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error[E0277]: the trait bound `T: Copy` is not satisfied
   --> $DIR/issue-61336.rs:10:5
index ac6c378295d3144ed85071ddbfe38412be0ce3a1..294378a66901a4eea5790eda99b9b1c29ca30f4b 100644 (file)
@@ -6,6 +6,7 @@ LL | #![cfg_attr(full, feature(const_generics))]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 82b36de45a2aac033883f54ee5e33b87b3dbc3bd..eec1b20254ed780178bc4f944e491e8fa6341b75 100644 (file)
@@ -6,6 +6,7 @@ LL | #![cfg_attr(full, feature(const_generics))]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 3ccce5675fcba19aee39f1382e20152a44d4dc71..3a266c8e97422ae4e3bbaf6a4b8c6e4548e5cffb 100644 (file)
@@ -6,6 +6,7 @@ LL | #![cfg_attr(full, feature(const_generics))]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error: constant expression depends on a generic parameter
   --> $DIR/issue-61747.rs:8:23
index 671f1103dccad7fcfeb56f35c067cb35b5d5ca72..8a1462c59e810fffdef71afb4d87655b667829a7 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error: constant expression depends on a generic parameter
   --> $DIR/unify-fixpoint.rs:9:32
index 03da7d512e592a5a15cb075db93d0e8b58f201e5..e80821cf46a4a53287cb3ad85d7ad22ee55144c2 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 1041ccee937042726a1296b22fdbdb2b49ddbf52..be7b95465a5f7db77f87023d7ac35bfb8c8c8c06 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0520]: `fly` specializes an item from a parent `impl`, but that item is not marked `default`
   --> $DIR/E0520.rs:17:5
index f915f6edef52b974c652b106e903b77eeaad96d3..356e4f36042ae5005c7bcf051a36f4d7e2d497c9 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error[E0730]: cannot pattern-match on an array without a fixed length
   --> $DIR/E0730.rs:6:9
index 60220be6b57ba55e1667c790aa3dfd05b723c0f5..b184b59981701acd5ed4f5cfec2a754ca936f826 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error[E0771]: use of non-static lifetime `'a` in const generic
   --> $DIR/E0771.rs:4:41
index 4ca6d1998353f882ae2119a921e1de8bcc86afa1..6de36deb5976480b97cb25ef2630a1f1f3d80ec6 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(decl_macro, rustc_attrs, const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index b351b8b73a0e58b6e8fab3ae419f9b2738958861..3f85383eb33fa05b49245fe3c31c17471c8e5a9b 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 1abf05dca8270b37fc869fb243139c6079bf5792..11eeceba0eed9a4e9349b38501af01af94823847 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index cdaa61ac323dd490fda9c16c930992a0f9487454..536a4726c6de225f02c2247332f6c399a92b49f6 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0308]: mismatched types
   --> $DIR/equality.rs:15:5
index 1780931efc5415790de6efab2b5c47be4694e680..1443b76048b324402385f00e6e41a86a5cb2e27e 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0308]: mismatched types
   --> $DIR/equality2.rs:25:18
index 06c31f3bae0620235969d416908d1b7c2d6b5628..835277d408ef25de730918f83e3c054055680df4 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 451beebd1061ee1faf53c49b999187bcdbca6234..65e94d7967075a273d4230b189ea18bcc52466a9 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 5e97339f148c5cbcaa97e0140d240e1359296411..2a4ccda8929191b881dcca193b19ccb847397876 100644 (file)
@@ -12,6 +12,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error: aborting due to previous error; 1 warning emitted
 
index 16df31ba2a88b5e5a7873a0c43f39fbc3eff8cb3..fca98662708db13edf89e3242a20cd47eb696efa 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index bc3054c3e30622a37f899c8c8db63315845d6c90..7ae092cee6723b44cd63cda0f43426ee702a3bd3 100644 (file)
@@ -170,6 +170,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error: aborting due to 24 previous errors; 1 warning emitted
 
index dea35666f37b56c80f12150bc9e2aa2ba4a9284f..5b763ae72f5eee88fdf9ead93d1fbce7981eaf9e 100644 (file)
@@ -31,6 +31,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0046]: not all trait items implemented, missing: `foo`
   --> $DIR/default.rs:22:1
index e8ff93f63237da3e779aecefef2816d9563d0936..cdc9ee8d9e7c9f94638ca0ba037d4aa214488ed0 100644 (file)
@@ -54,6 +54,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error: aborting due to 6 previous errors; 1 warning emitted
 
index 266b6e62afd0bf930050b14dd4ac72f5e5763237..63335586b765ce85b763f076765e6ea340a2a6de 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(const_generics, rustc_attrs)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error: item has unused generic parameters
   --> $DIR/closures.rs:19:19
index e379e32c1fceb11cbc9ef4e4a6e259f5da0b80f2..c976a5b62aa308ea11106862b2c06bb36f16eade 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(const_generics, rustc_attrs)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error: item has unused generic parameters
   --> $DIR/functions.rs:15:8
index c59055ba9d65473ff191d5463825056a64bde007..b2b32db045d6a78e4f4e9239b951c4a5120f51fc 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(const_generics, generators, generator_trait, rustc_attrs)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error: item has unused generic parameters
   --> $DIR/generators.rs:36:5
index 7f8151db06f5b8a8ca55699fc564754c6f35465d..5de8eb215821a4a8afb879ae19568a6a03ac5f01 100644 (file)
@@ -48,6 +48,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 error: aborting due to 5 previous errors; 1 warning emitted
 
index d38a3aba46fd3965f9b5e481329bdf6c407e1827..bd39650702c7c30a393a5fc20800a5a6f9b91ca2 100644 (file)
@@ -507,6 +507,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 warning: the feature `let_chains` is incomplete and may not be safe to use and/or cause compiler crashes
   --> $DIR/disallowed-positions.rs:22:12
index 250f48f8e5932f88f710d9b7b75820eb3efbd5cb..17da34caa70d7ab70ebfdd678eb4e124c540c8f1 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index f18bc99d73916d21a642535c92844374240ed38b..e368c2e73b6a97ba9a4a0c4c189bea54616cd6c0 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 337972ea2b7936f2496c13d08dbba3017c3e4efc..4ca3d8311983924a16673d3f226af105381ed72c 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0277]: the trait bound `str: Clone` is not satisfied
   --> $DIR/deafult-associated-type-bound-1.rs:19:5
index 8c9da81d277efd4b454d86ffdbff2978995ead12..2bc14dbe3b2e7542394faefebbe46baf19baf8c7 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0277]: can't compare `&'static B` with `B`
   --> $DIR/deafult-associated-type-bound-2.rs:16:5
index f145b90f216ab9df0651e26921cfa2bdd7ff9ed6..b5a1877ea1931f97c4c2bbe7c4c4c89910b2f6bc 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: the feature `generic_associated_types` is incomplete and may not be safe to use and/or cause compiler crashes
   --> $DIR/deafult-generic-associated-type-bound.rs:4:12
index 1b50329719d011672834e329c5d5b27a0d375367..d8b9c48c72e9224b757499913c035210364cebf3 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index deae021a8914d00e1f9a46570e2c2f1558b2a513..9ca915686e84f265519c69ab6eb827d35dc7591f 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 46899ca99549044c0331883e0914cafcbfbaf155..31d0e6e38824bea086482b0efd7c5edc93cd0737 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 8629c6c52d4a7a4326011a3d3eff6a3238965721..2d5c80d05f0193dbb770d41fc37e18d37f7bafd7 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 7958eddbeba251aefe0bcde14803c2c6698e83ff..3f1a5495e212f573b9b491b63fb8c958515b899c 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
   --> $DIR/specialization-no-default.rs:20:5
index dc377dd10c868d18359ae354ddcf2949ace8f649..163c93550fb4d7ce2f67fc895e227e44d44ec639 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 9d1eca1d6af76d4403bdee7ad868b3f2cb34384a..250f0017bea27450af11170405517cbe2e1e5eae 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0046]: not all trait items implemented, missing: `foo_two`
   --> $DIR/specialization-trait-item-not-implemented.rs:18:1
index 6b8e559bc36343ed23eb191681bcc8c2fd2a019e..fb623c97f4209492fa031c9046d13ef75ffc0a39 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0599]: no method named `foo_one` found for struct `MyStruct` in the current scope
   --> $DIR/specialization-trait-not-implemented.rs:22:29
index dcac310ed065e2be590f4997eb6113723dac8306..57b90c457cb77f082fd7939b94f406d13ef2b800 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0277]: the trait bound `U: Eq` is not satisfied
   --> $DIR/specialization-wfcheck.rs:7:17
index 2449849725f383c71b2c0483ee61de7f78b110fc..cbf0cef5e7462fbade6c67d837dd7073a7b5b7ee 100644 (file)
@@ -16,6 +16,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error: impls of auto traits cannot be default
   --> $DIR/validation.rs:9:21
index 744d88204247b4335e2d646dcb0889a605ecef4b..783a38e6bdc0028ddae51f31c5c3736be7e3d017 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index a314c26ad147db90096727bae35c4fa63d9e3813..bd5ed498d92ca6889d76742d39d06ea7ce8dfd9e 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0275]: overflow evaluating the requirement `i32: Check`
    |
index 6be0f26849f90717e19446a925ba5934b2f4ce7f..97e5775ab54ee8fdc9d4353f0809104f7a94267a 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0277]: the trait bound `(): Valid` is not satisfied
   --> $DIR/issue-38091.rs:12:5
index f3bb69b8f712a986fd7501ce83dfb45894f1ab79..98e49b1bab3b794b3432a7797f566a309655bfc1 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0275]: overflow evaluating the requirement `T: FromA<U>`
   --> $DIR/issue-39448.rs:45:13
index d40d17d8f71ca2349fb875eb3a5454dae6a455cc..77a45806edbabd3732ce95f9fa08f13e8065cf39 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index c01817e0b2793a5ab3c06294a48e9f7b6db29558..2f05c41346f90488e2ef4abf0aab589a4e6a0729 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index a7564ced055d5ef1ff5afad749b8e46291a60270..27070f8e4a1ca88fe03bb1c2cd8b50aafe626ce4 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0119]: conflicting implementations of trait `IntoPyDictPointer` for type `()`:
   --> $DIR/issue-52050.rs:28:1
index 43620e1ba51e1b3b631707f66fc94e6f93f09d4d..cde17872d6bbeebb098f26c177c1bad8e320591d 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index f71e4c7dd1cef0ca9bc9ccace200c5827ff831d8..5ee82e9915b6a2fb4c9d6c9f605343600e47234d 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index eae045b92c04d49521d2fb697391c9243fd5e0f6..85ccbd809b02d0a1c30d40cad85d22f9a7b13ad3 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization, associated_type_defaults)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0520]: `Ty` specializes an item from a parent `impl`, but that item is not marked `default`
   --> $DIR/non-defaulted-item-fail.rs:30:5
index 7d087545725beb7b255c5bfa511110d55252769e..9605bd089351452871d0ddf8f18fa805fee038f0 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index b12738604ea839c0811ace95c23fe87ee3abcb5e..a7c0661a825dcc075efc1c28532643680053292c 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index ad00cd81df13c976cf0703423dbb40a1fc9d831f..afb2af3803f1d73218d3a57ae8509e827ad96fde 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 7481eed796d966ad32b43bdcbbe2c4b2f092673c..c69130c0aef7b28b4d5321776c4f17a54e56b38f 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 4fa19adad066e8bba150bc7a10156ab18c90d9e8..ef6365ed31f8686c3d55ffe5a35e3b9714183363 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 456eb6d5ca553b446a0fb1a7cf85fa366ce305d8..445bc1646f04eb503db823f316535ee1d61d3d74 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0308]: mismatched types
   --> $DIR/specialization-default-projection.rs:21:5
index 5acfb53e20653c71e8a5a5a4babce4a60b36e21f..5ba38facee0c07570d8b715cff8f0e1a91711656 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0308]: mismatched types
   --> $DIR/specialization-default-types.rs:15:9
index bb8b2a6c98e09f4ef997abd47b090bf65213f082..711c1fda1499d092d9a153493d6b4ceb10ecd2f0 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0520]: `foo` specializes an item from a parent `impl`, but that item is not marked `default`
   --> $DIR/specialization-no-default.rs:20:5
index d91668d10c5f3f7398a0a259337306797c1de9a9..d051ffe0a02c65e2d66a9bf5244183cf67480a2d 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index a17f9f11a3f31d815f9a5fe678d75b168c33cd06..785ec29239b2040698126a010890041a9c0bd1ef 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 6141174ba8c03c084ac83c92c8b73db3202e312d..552b04a601930818000ae329cf1e92aec892d94f 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0751]: found both positive and negative implementation of trait `std::marker::Send` for type `TestType<_>`:
   --> $DIR/specialization-overlap-negative.rs:9:1
index 6f1a594bacb3af550d3d84181f783aed35bb7122..c92db73074d4faaa72fd373296328b08f8548123 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index cf0f186a18337be7e57c8f6239316f36cb9bb69d..7e5c96ac1c88464407b6e5884b4bb5a9945a1d35 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0119]: conflicting implementations of trait `Foo` for type `std::vec::Vec<_>`:
   --> $DIR/specialization-overlap.rs:5:1
index c44af22b8e63b8092722cf34cfda7362466d37b7..be013552f5d5fb64560fdbb1e649573f41843868 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0751]: found both positive and negative implementation of trait `Foo` for type `u8`:
   --> $DIR/specialization-polarity.rs:10:1
index 0c3659a8f7a06a5542d3da9ec901b606e283fd86..6d2bca5d2df8c0a85821484a946279f8e0ea9dd3 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index c5c86f5108e6e5dada1da6beae7681dfe7fb5c50..0f1ecf5e379c29ffe371c6c760867193dbb797bc 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 05bdfd40136a45539e2adc7342c88d87c352b58c..165703d63657483cda92f2be3b7f884edab96822 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 6284dd8f3f7d79eff9d03f333005b9699306384d..d30f7af2cbdce33a72d2df0bf8776bea7300f3cc 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index b17794173c5707b6865197fe99834a919b9c1f01..1762248f6956b5b8e7eebbb4408c19651a3169e3 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index fbb28e606408842dc87f74bf70f9156af9f2390f..94a0e79dd56637001d63378ca8db3203ee3cd66b 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 50e74373b53bbd4c867a8fd16aa49e47123ea5c5..ceb86559d85e2886efa05172bb43b926b82dec02 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0750]: negative impls cannot be default impls
   --> $DIR/negative-default-impls.rs:9:1
index 8b536de378630094f892e16751257046dd556378..9a846143d3d30ea14276737be450e9695f2ae19d 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index 89ef15e89ac96a177a06ddff4ea54b3c835ec453..77b4373a273b7f9508afbc2e991015903488c87e 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0751]: found both positive and negative implementation of trait `MyTrait` for type `u32`:
   --> $DIR/negative-specializes-positive-item.rs:11:1
index e45d5a251ab263b0bcad9c2b255718b45a4d310d..e5dc81b3eb75abf94007f814605fdbd056b57239 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0751]: found both positive and negative implementation of trait `MyTrait` for type `u32`:
   --> $DIR/negative-specializes-positive.rs:7:1
index 49c16d474040e81102a085d941e5cbb25b382230..c091bc81da34098092023500eaceccfea5fa2a54 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 error[E0751]: found both positive and negative implementation of trait `MyTrait` for type `u32`:
   --> $DIR/positive-specializes-negative.rs:7:1
index 02315051d30ec103e670f48dcfc5735f12ed7fdd..a0ea72415a18905fe1273b2a67a83bca3ba4db3b 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(specialization)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
+   = help: consider using `min_specialization` instead, which is more stable and complete
 
 warning: 1 warning emitted
 
index e0c1b023861278b69a07989c53c0dd367693ae14..c5b22f0026de438b206bd25410f08181963c4c1b 100644 (file)
@@ -6,6 +6,7 @@ LL | #![feature(const_generics)]
    |
    = note: `#[warn(incomplete_features)]` on by default
    = note: see issue #44580 <https://github.com/rust-lang/rust/issues/44580> for more information
+   = help: consider using `min_const_generics` instead, which is more stable and complete
 
 warning: 1 warning emitted