about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-09-21 13:25:38 +0200
committerGitHub <noreply@github.com>2023-09-21 13:25:38 +0200
commit9ce64bae9415d0680f89137d705a06629b29fcae (patch)
treeec5c9e750345ea4b42856a0a66b04b1cee962c6b /compiler/rustc_const_eval/src
parente4a361a48a59ead52b302aaa2e1d9d345264935a (diff)
parentf156d3bc5720603b8ce7a6a33bbfd464f9ca2e84 (diff)
downloadrust-9ce64bae9415d0680f89137d705a06629b29fcae.tar.gz
rust-9ce64bae9415d0680f89137d705a06629b29fcae.zip
Rollup merge of #115257 - Urgau:invalid-utf8-walk-up-hir, r=Nilstrieb
Improve invalid UTF-8 lint by finding the expression initializer

This PR introduce a small mechanism to walk up the HIR through bindings, if/else, consts, ... when trying lint on invalid UTF-8.

Fixes https://github.com/rust-lang/rust/issues/115208
Diffstat (limited to 'compiler/rustc_const_eval/src')
0 files changed, 0 insertions, 0 deletions