9043dfd946
Move macro_rules diagnostics to diagnostics module This will make it easier to add more diagnostics in the future in a centralized place.