mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-12-22 13:35:33 +00:00
1053c72575
`const_mat2` is deprecated in `glam`. We need to fix the tests.
18 lines
565 B
Plaintext
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`.
|