about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/structured_errors.rs
diff options
context:
space:
mode:
authorChris Denton <chris@chrisdenton.dev>2023-11-19 16:24:39 +0000
committerChris Denton <chris@chrisdenton.dev>2023-11-19 16:24:39 +0000
commit3a486c1feb0a4846a3bcff0dda5182dc9c762ba2 (patch)
treea2535a6bd4fe5ffa999850d2f70c96bc8d4b8502 /compiler/rustc_hir_analysis/src/structured_errors.rs
parent097261f241d0295a84a1fc754639e58202ea7e8e (diff)
downloadrust-3a486c1feb0a4846a3bcff0dda5182dc9c762ba2.tar.gz
rust-3a486c1feb0a4846a3bcff0dda5182dc9c762ba2.zip
Use an absolute path to the NUL device
While a bare "NUL" *should* be redirected to the NUL device, especially in this simple case, let's be explicit that we aren't opening a file called "NUL" and instead open it directly.

This will also set a good example for people copying std code.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/structured_errors.rs')
0 files changed, 0 insertions, 0 deletions