Each of these needs to be in a separate file,
because the span_delayed_bug
ICE in rustdoc won't be triggered
if even a single other error was emitted.
However, conceptually they are all testing basically the same thing. See rust-lang#73566 (comment) for more details.