diff --git a/tests/macros/stack.rs b/tests/macros/stack.rs index 5eb7d6d8a..7ba3af828 100644 --- a/tests/macros/stack.rs +++ b/tests/macros/stack.rs @@ -8,7 +8,6 @@ use nalgebra::{ SMatrixViewMut, Scalar, U2, }; use nalgebra_macros::vector; -use num_complex::Complex; use num_traits::Zero; /// Simple implementation that stacks dynamic matrices. diff --git a/tests/macros/trybuild/dmatrix_mismatched_dimensions.stderr b/tests/macros/trybuild/dmatrix_mismatched_dimensions.stderr index eaedc650e..de0e49c26 100644 --- a/tests/macros/trybuild/dmatrix_mismatched_dimensions.stderr +++ b/tests/macros/trybuild/dmatrix_mismatched_dimensions.stderr @@ -1,5 +1,5 @@ error: Unexpected number of entries in row 1. Expected 3, found 2 entries. - --> $DIR/dmatrix_mismatched_dimensions.rs:5:13 + --> tests/macros/trybuild/dmatrix_mismatched_dimensions.rs:5:13 | 5 | 4, 5]; - | ^ + | ^^^^ diff --git a/tests/macros/trybuild/matrix_mismatched_dimensions.stderr b/tests/macros/trybuild/matrix_mismatched_dimensions.stderr index c83e8d0cb..57697ae17 100644 --- a/tests/macros/trybuild/matrix_mismatched_dimensions.stderr +++ b/tests/macros/trybuild/matrix_mismatched_dimensions.stderr @@ -1,5 +1,5 @@ error: Unexpected number of entries in row 1. Expected 3, found 2 entries. - --> $DIR/matrix_mismatched_dimensions.rs:5:13 + --> tests/macros/trybuild/matrix_mismatched_dimensions.rs:5:13 | 5 | 4, 5]; - | ^ + | ^^^^ diff --git a/tests/macros/trybuild/stack_incompatible_block_dimensions.stderr b/tests/macros/trybuild/stack_incompatible_block_dimensions.stderr index e644804b4..ffef61a80 100644 --- a/tests/macros/trybuild/stack_incompatible_block_dimensions.stderr +++ b/tests/macros/trybuild/stack_incompatible_block_dimensions.stderr @@ -5,9 +5,9 @@ error[E0277]: the trait bound `ShapeConstraint: SameNumberOfColumns, Co | ^^^ the trait `SameNumberOfColumns, Const<3>>` is not implemented for `ShapeConstraint` | = help: the following other types implement trait `SameNumberOfColumns`: - > - > > + > + > = note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0282]: type annotations needed diff --git a/tests/macros/trybuild/stack_incompatible_block_dimensions2.stderr b/tests/macros/trybuild/stack_incompatible_block_dimensions2.stderr index b668551f7..2d52e26b6 100644 --- a/tests/macros/trybuild/stack_incompatible_block_dimensions2.stderr +++ b/tests/macros/trybuild/stack_incompatible_block_dimensions2.stderr @@ -5,9 +5,9 @@ error[E0277]: the trait bound `ShapeConstraint: SameNumberOfRows, Const | ^^^ the trait `SameNumberOfRows, Const<2>>` is not implemented for `ShapeConstraint` | = help: the following other types implement trait `SameNumberOfRows`: - > - > > + > + > = note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0282]: type annotations needed