rust-gpu/tests/ui/lang/consts/nested-ref.stderr
Sylvester Hesp 1053c72575 Blessed these const_mat2 errors
`const_mat2` is deprecated in `glam`. We need to fix the tests.
2022-11-03 17:03:54 +02:00

18 lines
565 B
Plaintext

error[E0432]: unresolved import `glam::const_mat2`
--> $DIR/nested-ref.rs:9:12
|
9 | use glam::{const_mat2, Mat2, Vec2};
| ^^^^^^^^^^ no `const_mat2` in the root
error: cannot determine resolution for the macro `const_mat2`
--> $DIR/nested-ref.rs:16:23
|
16 | const ROT90: &Mat2 = &const_mat2![[0.0, 1.0], [-1.0, 0.0]];
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0432`.