Closed
Description
macro_rules! constant {
($( $ret:expr ; )*) => {
fn f() {
$( $ret; )*
}
};
}
constant! {
-0.0;
KONST;
}
const KONST: () = ();
Here KONST
inside the macro doesn't have highlighting or hover (but the macro does expand correctly). Swapping the two lines in the macro makes it work again. Caused by #12149.