| 1 |
error[E0277]: the trait bound `ShapeConstraint: SameNumberOfColumns<Const<2>, Const<3>>` is not satisfied |
| 2 |
--> tests/macros/trybuild/stack_incompatible_block_dimensions.rs:12:12 |
| 3 |
| |
| 4 |
12 | a21, a22]; |
| 5 |
| ^^^ the trait `SameNumberOfColumns<Const<2>, Const<3>>` is not implemented for `ShapeConstraint` |
| 6 |
| |
| 7 |
= help: the following other types implement trait `SameNumberOfColumns<D1, D2>`: |
| 8 |
`ShapeConstraint` implements `SameNumberOfColumns<D, D>` |
| 9 |
`ShapeConstraint` implements `SameNumberOfColumns<D, Dyn>` |
| 10 |
`ShapeConstraint` implements `SameNumberOfColumns<Dyn, D>` |
| 11 |
= note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 12 |
|
| 13 |
error[E0282]: type annotations needed |
| 14 |
--> tests/macros/trybuild/stack_incompatible_block_dimensions.rs:11:5 |
| 15 |
| |
| 16 |
11 | / stack![a11, a12; |
| 17 |
12 | | a21, a22]; |
| 18 |
| |____________________^ cannot infer type |
| 19 |
| |
| 20 |
= note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info) |