Closed
Description
In compiletest
, a test that has a //~ WARN ...
comment will not tell you if other undocumented warnings were also emitted.
If I recall correctly, we have a policy that if a test has annotations of the form //~ KIND
(where KIND is one of ERROR/WARN/HELP/INFO`, then we will check that the set of annotations of that form properly matches what the compiler is emitting.
But it looks like we only actually follow the above policy completely for KIND == ERROR, not the others.