Skip to content

Commit 1c84b0c

Browse files
VrixyzRalith
authored andcommitted
update errors for rust 1.81
1 parent 2235f5d commit 1c84b0c

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

tests/macros/trybuild/stack_incompatible_block_dimensions.stderr

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ error[E0277]: the trait bound `ShapeConstraint: SameNumberOfColumns<Const<2>, Co
55
| ^^^ the trait `SameNumberOfColumns<Const<2>, Const<3>>` is not implemented for `ShapeConstraint`
66
|
77
= help: the following other types implement trait `SameNumberOfColumns<D1, D2>`:
8-
<ShapeConstraint as SameNumberOfColumns<D, D>>
9-
<ShapeConstraint as SameNumberOfColumns<D, Dyn>>
10-
<ShapeConstraint as SameNumberOfColumns<Dyn, D>>
8+
`ShapeConstraint` implements `SameNumberOfColumns<D, D>`
9+
`ShapeConstraint` implements `SameNumberOfColumns<D, Dyn>`
10+
`ShapeConstraint` implements `SameNumberOfColumns<Dyn, D>`
1111
= note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info)
1212

1313
error[E0282]: type annotations needed
@@ -27,11 +27,6 @@ error[E0599]: no method named `generic_view_mut` found for struct `Matrix<_, Con
2727
12 | | a21, a22];
2828
| |____________________^ method not found in `Matrix<_, Const<3>, _, _>`
2929
|
30-
::: src/base/matrix_view.rs
31-
|
32-
| generic_slice_mut => generic_view_mut,
33-
| ---------------- the method is available for `Matrix<_, Const<3>, _, _>` here
34-
|
3530
= note: the method was found for
3631
- `Matrix<T, R, C, S>`
3732
= note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info)

tests/macros/trybuild/stack_incompatible_block_dimensions2.stderr

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ error[E0277]: the trait bound `ShapeConstraint: SameNumberOfRows<Const<1>, Const
55
| ^^^ the trait `SameNumberOfRows<Const<1>, Const<2>>` is not implemented for `ShapeConstraint`
66
|
77
= help: the following other types implement trait `SameNumberOfRows<D1, D2>`:
8-
<ShapeConstraint as SameNumberOfRows<D, D>>
9-
<ShapeConstraint as SameNumberOfRows<D, Dyn>>
10-
<ShapeConstraint as SameNumberOfRows<Dyn, D>>
8+
`ShapeConstraint` implements `SameNumberOfRows<D, D>`
9+
`ShapeConstraint` implements `SameNumberOfRows<D, Dyn>`
10+
`ShapeConstraint` implements `SameNumberOfRows<Dyn, D>`
1111
= note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info)
1212

1313
error[E0282]: type annotations needed
@@ -27,11 +27,6 @@ error[E0599]: no method named `generic_view_mut` found for struct `Matrix<_, _,
2727
13 | | a21, a22];
2828
| |____________________^ method not found in `Matrix<_, _, Const<4>, _>`
2929
|
30-
::: src/base/matrix_view.rs
31-
|
32-
| generic_slice_mut => generic_view_mut,
33-
| ---------------- the method is available for `Matrix<_, _, Const<4>, _>` here
34-
|
3530
= note: the method was found for
3631
- `Matrix<T, R, C, S>`
3732
= note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)