]> git.lizzy.rs Git - enumset.git/blobdiff - enumset/tests/compile-fail/variants.stderr
Update tests for latest nightly.
[enumset.git] / enumset / tests / compile-fail / variants.stderr
index 51dbd146fefe829b9c6d6c7f48bdf4d3d6f62115..d243048b9263140c749ec8bef25016792a81cfcc 100644 (file)
@@ -64,6 +64,12 @@ note: required by a bound in `enumset::EnumSet::<T>::from_repr`
     |     where T: EnumSetTypeWithRepr {
     |              ^^^^^^^^^^^^^^^^^^^ required by this bound in `enumset::EnumSet::<T>::from_repr`
 
+error[E0277]: the trait bound `OkayEnumButCantUseFromRepr: EnumSetTypeWithRepr` is not satisfied
+  --> tests/compile-fail/variants.rs:64:5
+   |
+64 |     EnumSet::<OkayEnumButCantUseFromRepr>::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
    |