SQ in silver chrome letters, a lab's gear stacked against the S: a rack, two oscilloscopes, pizza boxes and a six-pack. Strange Query Lab

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.