Create a gist now

Instantly share code, notes, and snippets.

Value / Type namespace error
test.rs:18:0: 23:1 error: Duplicate definition of value Matrix4
test.rs:18 struct Matrix4<T:copy fuzzy_eq Num> {
test.rs:19 let m11: T; let m12: T; let m13: T; let m14: T;
test.rs:20 let m21: T; let m22: T; let m23: T; let m24: T;
test.rs:21 let m31: T; let m32: T; let m33: T; let m34: T;
test.rs:22 let m41: T; let m42: T; let m43: T; let m44: T;
test.rs:23 }
test.rs:4:0: 16:1 note: First definition of value Matrix4 here:
test.rs:4 pure fn Matrix4<T:copy fuzzy_eq Num>(m11: T, m12: T, m13: T, m14: T,
test.rs:5 m21: T, m22: T, m23: T, m24: T,
test.rs:6 m31: T, m32: T, m33: T, m34: T,
test.rs:7 m41: T, m42: T, m43: T, m44: T)
test.rs:8 -> Matrix4<T> {
test.rs:9
...
error: aborting due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment