CARDIAC › rust-cardiac › Message codes › RCE0016
RCE0016error
A constant defined in two crates.
error[RCE0016]: const {name} is defined in both {one} and {other}: rename one
Two crates the program uses each define a const of the same name.
The program's constants and its crates' are linked by name, so two of one name would be one constant with two values.
Rename one of them.
pub const KIT_LIMIT: i16 = 500;
In a terminal: cargo cardiac help RCE0016.