diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-06-08 10:15:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-08 10:15:13 +0200 |
| commit | cf5e0b06183dabee960e4c7f7afd73355b8c3f89 (patch) | |
| tree | 39e5f53ed3998999dd0b60ac4e31066aa58c358d /tests/rustdoc-js-std/parser-generics.js | |
| parent | b3d1a8331180df3a5efaf3e0f2ccac0013059402 (diff) | |
| parent | fbe3a475f290c0847623357c732caa62b29389f3 (diff) | |
| download | rust-cf5e0b06183dabee960e4c7f7afd73355b8c3f89.tar.gz rust-cf5e0b06183dabee960e4c7f7afd73355b8c3f89.zip | |
Rollup merge of #112401 - WaffleLapkin:dont_compile_error, r=Nilstrieb
Don't `use compile_error as print` I've spent **1.5 hours** debugging this while trying to compile #112400, if we use `compile_error!`, we should not just forward user input to it, but issue a reasonable error message. The better solution would be to use a lint like `clippy::print_stdout`, but since we don't have clippy in CI, let's at least make the macro error better. Also note that some functions called here actually do use `println` (see for example `print_type_sizes` function).
Diffstat (limited to 'tests/rustdoc-js-std/parser-generics.js')
0 files changed, 0 insertions, 0 deletions
