forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbool_cond.normal.stderr
31 lines (28 loc) · 1.35 KB
/
bool_cond.normal.stderr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
error[E0277]: the trait bound `ConstOption<usize, { N <= 0 }>: Default` is not satisfied
--> $DIR/bool_cond.rs:42:5
|
LL | #[derive(Default)]
| ------- in this derive macro expansion
...
LL | _a: ConstOption<usize, { N <= 0 }>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConstOption<usize, { N <= 0 }>`
|
= help: the following other types implement trait `Default`:
ConstOption<T, false>
ConstOption<T, true>
= note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `ConstOption<usize, { N <= 1 }>: Default` is not satisfied
--> $DIR/bool_cond.rs:44:5
|
LL | #[derive(Default)]
| ------- in this derive macro expansion
...
LL | _b: ConstOption<usize, { N <= 1 }>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `ConstOption<usize, { N <= 1 }>`
|
= help: the following other types implement trait `Default`:
ConstOption<T, false>
ConstOption<T, true>
= note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0277`.