1- warning: the feature `negative_bounds` is incomplete and may not be safe to use and/or cause compiler crashes
2- --> $DIR/simple.rs:1:12
3- |
4- LL | #![feature(negative_bounds, negative_impls)]
5- | ^^^^^^^^^^^^^^^
6- |
7- = note: `#[warn(incomplete_features)]` on by default
8-
91error[E0277]: the trait bound `T: !Copy` is not satisfied
10- --> $DIR/simple.rs:11 :16
2+ --> $DIR/simple.rs:10 :16
113 |
124LL | not_copy::<T>();
135 | ^ the trait `!Copy` is not implemented for `T`
146 |
157note: required by a bound in `not_copy`
16- --> $DIR/simple.rs:4 :16
8+ --> $DIR/simple.rs:3 :16
179 |
1810LL | fn not_copy<T: !Copy>() {}
1911 | ^^^^^ required by this bound in `not_copy`
2012
2113error[E0277]: the trait bound `T: !Copy` is not satisfied
22- --> $DIR/simple.rs:16 :16
14+ --> $DIR/simple.rs:15 :16
2315 |
2416LL | not_copy::<T>();
2517 | ^ the trait `!Copy` is not implemented for `T`
2618 |
2719note: required by a bound in `not_copy`
28- --> $DIR/simple.rs:4 :16
20+ --> $DIR/simple.rs:3 :16
2921 |
3022LL | fn not_copy<T: !Copy>() {}
3123 | ^^^^^ required by this bound in `not_copy`
3224
3325error[E0277]: the trait bound `Copyable: !Copy` is not satisfied
34- --> $DIR/simple.rs:31 :16
26+ --> $DIR/simple.rs:30 :16
3527 |
3628LL | not_copy::<Copyable>();
3729 | ^^^^^^^^ the trait `!Copy` is not implemented for `Copyable`
3830 |
3931 = help: the trait `Copy` is implemented for `Copyable`
4032note: required by a bound in `not_copy`
41- --> $DIR/simple.rs:4 :16
33+ --> $DIR/simple.rs:3 :16
4234 |
4335LL | fn not_copy<T: !Copy>() {}
4436 | ^^^^^ required by this bound in `not_copy`
@@ -49,13 +41,13 @@ LL | struct Copyable;
4941 |
5042
5143error[E0277]: the trait bound `NotNecessarilyCopyable: !Copy` is not satisfied
52- --> $DIR/simple.rs:38 :16
44+ --> $DIR/simple.rs:37 :16
5345 |
5446LL | not_copy::<NotNecessarilyCopyable>();
5547 | ^^^^^^^^^^^^^^^^^^^^^^ the trait `!Copy` is not implemented for `NotNecessarilyCopyable`
5648 |
5749note: required by a bound in `not_copy`
58- --> $DIR/simple.rs:4 :16
50+ --> $DIR/simple.rs:3 :16
5951 |
6052LL | fn not_copy<T: !Copy>() {}
6153 | ^^^^^ required by this bound in `not_copy`
@@ -65,6 +57,6 @@ LL + #[derive(Copy)]
6557LL | struct NotNecessarilyCopyable;
6658 |
6759
68- error: aborting due to 4 previous errors; 1 warning emitted
60+ error: aborting due to 4 previous errors
6961
7062For more information about this error, try `rustc --explain E0277`.
0 commit comments