@@ -35,13 +35,13 @@ LL | fn bar<T: ?Trait1 + ?Trait2>(_: T) {}
3535 = help: add `#![feature(more_maybe_bounds)]` to the crate attributes to enable
3636 = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
3737
38- warning : relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
38+ error : relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
3939 --> $DIR/feature-gate-more-maybe-bounds.rs:12:11
4040 |
4141LL | fn bar<T: ?Trait1 + ?Trait2>(_: T) {}
4242 | ^^^^^^^
4343
44- warning : relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
44+ error : relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
4545 --> $DIR/feature-gate-more-maybe-bounds.rs:12:21
4646 |
4747LL | fn bar<T: ?Trait1 + ?Trait2>(_: T) {}
@@ -53,19 +53,19 @@ error[E0203]: type parameter has more than one relaxed default bound, only one i
5353LL | fn baz<T: ?Trait + ?Trait>(_ : T) {}
5454 | ^^^^^^ ^^^^^^
5555
56- warning : relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
56+ error : relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
5757 --> $DIR/feature-gate-more-maybe-bounds.rs:19:11
5858 |
5959LL | fn baz<T: ?Trait + ?Trait>(_ : T) {}
6060 | ^^^^^^
6161
62- warning : relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
62+ error : relaxing a default bound only does something for `?Sized`; all other traits are not bound by default
6363 --> $DIR/feature-gate-more-maybe-bounds.rs:19:20
6464 |
6565LL | fn baz<T: ?Trait + ?Trait>(_ : T) {}
6666 | ^^^^^^
6767
68- error: aborting due to 5 previous errors; 4 warnings emitted
68+ error: aborting due to 9 previous errors
6969
7070Some errors have detailed explanations: E0203, E0658.
7171For more information about an error, try `rustc --explain E0203`.
0 commit comments