From 2c463c3e3ce1e56f91cdd7bc5790dce3c05888e7 Mon Sep 17 00:00:00 2001 From: Alissa Rao Date: Sun, 2 Oct 2022 14:37:29 -0700 Subject: [PATCH] Update tests for latest nightly. --- enumset/tests/compile-fail/variants.stderr | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/enumset/tests/compile-fail/variants.stderr b/enumset/tests/compile-fail/variants.stderr index 51dbd14..d243048 100644 --- a/enumset/tests/compile-fail/variants.stderr +++ b/enumset/tests/compile-fail/variants.stderr @@ -64,6 +64,12 @@ note: required by a bound in `enumset::EnumSet::::from_repr` | where T: EnumSetTypeWithRepr { | ^^^^^^^^^^^^^^^^^^^ required by this bound in `enumset::EnumSet::::from_repr` +error[E0277]: the trait bound `OkayEnumButCantUseFromRepr: EnumSetTypeWithRepr` is not satisfied + --> tests/compile-fail/variants.rs:64:5 + | +64 | EnumSet::::from_repr(1); + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EnumSetTypeWithRepr` is not implemented for `OkayEnumButCantUseFromRepr` + error[E0277]: the trait bound `OkayEnumButCantUseFromRepr: EnumSetTypeWithRepr` is not satisfied --> tests/compile-fail/variants.rs:64:54 | -- 2.44.0