]> git.lizzy.rs Git - rust.git/blob - tests/ui/cfg/cfg-method-receiver.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / ui / cfg / cfg-method-receiver.rs
1 macro_rules! cbor_map {
2     ($key:expr) => {
3         $key.signum();
4         //~^ ERROR can't call method `signum` on ambiguous numeric type `{integer}` [E0689]
5     };
6 }
7
8 fn main() {
9     cbor_map! { #[cfg(test)] 4};
10     //~^ ERROR removing an expression is not supported in this position
11 }