Debian Codegraph @

debian/missing-sources/nalgebra/tests/macros/trybuild/stack_incompatible_block_dimensions2.stderr

raw
1 error[E0277]: the trait bound `ShapeConstraint: SameNumberOfRows<Const<1>, Const<2>>` is not satisfied
2 --> tests/macros/trybuild/stack_incompatible_block_dimensions2.rs:13:17
3 |
4 13 | a21, a22];
5 | ^^^ the trait `SameNumberOfRows<Const<1>, Const<2>>` is not implemented for `ShapeConstraint`
6 |
7 = help: the following other types implement trait `SameNumberOfRows<D1, D2>`:
8 `ShapeConstraint` implements `SameNumberOfRows<D, D>`
9 `ShapeConstraint` implements `SameNumberOfRows<D, Dyn>`
10 `ShapeConstraint` implements `SameNumberOfRows<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_dimensions2.rs:12:5
15 |
16 12 | / stack![a11, a12;
17 13 | | 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)