]> git.lizzy.rs Git - enumset.git/blobdiff - enumset/tests/compile-fail/variants.stderr
Unify some redundant code between the variant count checks for repr/serialize_repr
[enumset.git] / enumset / tests / compile-fail / variants.stderr
index 0425ae533a8c6bf2d9deb2fb09a86ed190f00a4f..51dbd146fefe829b9c6d6c7f48bdf4d3d6f62115 100644 (file)
@@ -61,8 +61,8 @@ error[E0277]: the trait bound `OkayEnumButCantUseFromRepr: EnumSetTypeWithRepr`
 note: required by a bound in `enumset::EnumSet::<T>::from_repr`
    --> src/lib.rs
     |
-    |         T: EnumSetTypeWithRepr,
-    |            ^^^^^^^^^^^^^^^^^^^ required by this 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:54