about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2023-05-13 18:33:19 +0200
committerUrgau <urgau@numericable.fr>2023-05-27 00:18:28 +0200
commit7f99c7d3e64143bdeda8f519a656ad1963162fb2 (patch)
tree27fe55d50d88c891cd299a3d08c64ebafeeab4b1 /compiler/rustc_span/src
parenta0612d90b08e2ee3fac4e807f56e51dd665ec882 (diff)
downloadrust-7f99c7d3e64143bdeda8f519a656ad1963162fb2.tar.gz
rust-7f99c7d3e64143bdeda8f519a656ad1963162fb2.zip
Add invalid_from_utf8 analogous to invalid_from_utf8_unchecked
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 4fc73c4ae86..1185563ea80 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1454,6 +1454,8 @@ symbols! {
         stop_after_dataflow,
         store,
         str,
+        str_from_utf8,
+        str_from_utf8_mut,
         str_from_utf8_unchecked,
         str_from_utf8_unchecked_mut,
         str_split_whitespace,