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);
^~~~~~~~~~~~~~~~~~