Skip to content

Commit c526702

Browse files
committed
ci: snapshot test again, by TRYBUILD=overwrite cargo +1.81 test stack
1 parent 7ea5b3b commit c526702

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

tests/macros/trybuild/stack_incompatible_block_dimensions.stderr

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,15 @@ error[E0282]: type annotations needed
1818
| |____________________^ cannot infer type
1919
|
2020
= note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info)
21+
22+
error[E0599]: no method named `generic_view_mut` found for struct `Matrix<_, Const<3>, _, _>` in the current scope
23+
--> tests/macros/trybuild/stack_incompatible_block_dimensions.rs:11:5
24+
|
25+
11 | stack![a11, a12;
26+
| _____^
27+
12 | | a21, a22];
28+
| |____________________^ method not found in `Matrix<_, Const<3>, _, _>`
29+
|
30+
= note: the method was found for
31+
- `Matrix<T, R, C, S>`
32+
= 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: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,15 @@ error[E0282]: type annotations needed
1818
| |____________________^ cannot infer type
1919
|
2020
= note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info)
21+
22+
error[E0599]: no method named `generic_view_mut` found for struct `Matrix<_, _, Const<4>, _>` in the current scope
23+
--> tests/macros/trybuild/stack_incompatible_block_dimensions2.rs:12:5
24+
|
25+
12 | stack![a11, a12;
26+
| _____^
27+
13 | | a21, a22];
28+
| |____________________^ method not found in `Matrix<_, _, Const<4>, _>`
29+
|
30+
= note: the method was found for
31+
- `Matrix<T, R, C, S>`
32+
= note: this error originates in the macro `stack` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)