bless stderr
This commit is contained in:
parent
4483c2bdf6
commit
47b16f4ac9
@ -10,7 +10,7 @@ error: overly complex generic constant
|
||||
--> $DIR/array-size-in-generic-struct-param.rs:19:15
|
||||
|
|
||||
LL | arr: [u8; CFG.arr_size],
|
||||
| ^^^^^^^^^^^^ unsupported projection
|
||||
| ^^^^^^^^^^^^ unsupported operation in generic constant, this may be supported in the future
|
||||
|
|
||||
= help: consider moving this anonymous constant into a `const` function
|
||||
|
||||
|
@ -4,7 +4,7 @@ error: overly complex generic constant
|
||||
LL | fn test<const N: usize>() -> [u8; N + (|| 42)()] {}
|
||||
| ^^^^-------^^
|
||||
| |
|
||||
| unsupported rvalue
|
||||
| unsupported operation in generic constant, this may be supported in the future
|
||||
|
|
||||
= help: consider moving this anonymous constant into a `const` function
|
||||
|
||||
|
@ -2,9 +2,7 @@ error: overly complex generic constant
|
||||
--> $DIR/let-bindings.rs:6:68
|
||||
|
|
||||
LL | fn test<const N: usize>() -> [u8; { let x = N; N + 1 }] where [u8; { let x = N; N + 1 }]: Default {
|
||||
| ^^^^^^-^^^^^^^^^^^^^
|
||||
| |
|
||||
| unsupported statement
|
||||
| ^^^^^^^^^^^^^^^^^^^^ unsupported operation in generic constant, this may be supported in the future
|
||||
|
|
||||
= help: consider moving this anonymous constant into a `const` function
|
||||
|
||||
@ -12,9 +10,7 @@ error: overly complex generic constant
|
||||
--> $DIR/let-bindings.rs:6:35
|
||||
|
|
||||
LL | fn test<const N: usize>() -> [u8; { let x = N; N + 1 }] where [u8; { let x = N; N + 1 }]: Default {
|
||||
| ^^^^^^-^^^^^^^^^^^^^
|
||||
| |
|
||||
| unsupported statement
|
||||
| ^^^^^^^^^^^^^^^^^^^^ unsupported operation in generic constant, this may be supported in the future
|
||||
|
|
||||
= help: consider moving this anonymous constant into a `const` function
|
||||
|
||||
|
@ -2,9 +2,9 @@ error: overly complex generic constant
|
||||
--> $DIR/issue-67375.rs:7:17
|
||||
|
|
||||
LL | inner: [(); { [|_: &T| {}; 0].len() }],
|
||||
| ^^^----------^^^^^^^^^^^^
|
||||
| |
|
||||
| unsupported rvalue
|
||||
| ^^---------------^^^^^^^^
|
||||
| |
|
||||
| unsupported operation in generic constant
|
||||
|
|
||||
= help: consider moving this anonymous constant into a `const` function
|
||||
|
||||
|
@ -5,11 +5,10 @@ LL | A: [(); {
|
||||
| _____________^
|
||||
LL | |
|
||||
LL | | let x: Option<Box<Self>> = None;
|
||||
| | ---- unsupported rvalue
|
||||
LL | |
|
||||
LL | | 0
|
||||
LL | | }],
|
||||
| |_____^
|
||||
| |_____^ unsupported operation in generic constant, this may be supported in the future
|
||||
|
|
||||
= help: consider moving this anonymous constant into a `const` function
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user