You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rustc othercrate.rs --crate-type lib compiles fine (other than the dead code warning for OK), but rustc -L . crosscratetuple.rs is not:
crosscratetuple.rs:3:31: 3:49 error: function calls in constants are limited to struct and enum constructors [E0015]
crosscratetuple.rs:3 static ERR: othercrate::Foo = othercrate::Foo(1);
^~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
huonw
changed the title
Cannot construct a static simd struct
Cannot construct a static with a cross-crate tuple struct
Sep 11, 2014
rustc othercrate.rs --crate-type lib
compiles fine (other than the dead code warning forOK
), butrustc -L . crosscratetuple.rs
is not:The text was updated successfully, but these errors were encountered: