fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: removing an expression is not supported in this position 2 --> $DIR/cfg-method-receiver.rs:9:17 3 | 4LL | cbor_map! { #[cfg(test)] 4}; 5 | ^^^^^^^^^^^^ 6 7error[E0689]: can't call method `signum` on ambiguous numeric type `{integer}` 8 --> $DIR/cfg-method-receiver.rs:3:14 9 | 10LL | $key.signum(); 11 | ^^^^^^ 12... 13LL | cbor_map! { #[cfg(test)] 4}; 14 | --------------------------- in this macro invocation 15 | 16 = note: this error originates in the macro `cbor_map` (in Nightly builds, run with -Z macro-backtrace for more info) 17help: you must specify a concrete type for this numeric value, like `i32` 18 | 19LL | cbor_map! { #[cfg(test)] 4_i32}; 20 | ~~~~~ 21 22error: aborting due to 2 previous errors 23 24For more information about this error, try `rustc --explain E0689`.