about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-15 05:11:36 +0200
committerGitHub <noreply@github.com>2024-10-15 05:11:36 +0200
commit6d9999662c77603deee4f17c499741dbfe46299c (patch)
tree9c02cef7827cb97641a8694f44a1a641be183247 /compiler/rustc_errors/src/snippet.rs
parent9322d183f45e0fd5a509820874cc5ff27744a479 (diff)
parentfeecfaa18d87e3f5dc9258fafa9d9ab9c1ebe5f6 (diff)
downloadrust-6d9999662c77603deee4f17c499741dbfe46299c.tar.gz
rust-6d9999662c77603deee4f17c499741dbfe46299c.zip
Rollup merge of #122670 - beetrees:non-unicode-option-env-error, r=compiler-errors
Fix bug where `option_env!` would return `None` when env var is present but not valid Unicode

Fixes #122669 by making `option_env!` emit an error when the value of the environment variable is not valid Unicode.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions