expand unused doc comment diagnostic

Report the diagnostic on macro expansions, and add a label indicating
why the comment is unused.
This commit is contained in:
Andy Russell
2019-01-24 15:49:03 -05:00
parent 018d4d265f
commit daf80f721b
14 changed files with 303 additions and 167 deletions

View File

@@ -4515,7 +4515,7 @@ macro_rules! rev {
)*}
}
/// intra-sign conversions
// intra-sign conversions
try_from_upper_bounded!(u16, u8);
try_from_upper_bounded!(u32, u16, u8);
try_from_upper_bounded!(u64, u32, u16, u8);