Port diagnostic::do_not_recommend to new attr parsing
#151056
Merged
Loading