summaryrefslogtreecommitdiff
path: root/compiler/rustc_hir
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2023-03-05 15:03:22 +0000
committerDeadbeef <ent3rm4n@gmail.com>2023-05-02 10:30:09 +0000
commit8ff3903643b530c9029e8f2c6c6956fda8f21d77 (patch)
treee424bc1501abc62c70ad0c622777a0c6cb4cd0e1 /compiler/rustc_hir
parent7b99493492ad59c7a44c65373558175db42b4151 (diff)
downloadrust-8ff3903643b530c9029e8f2c6c6956fda8f21d77.tar.gz
initial step towards implementing C string literals
Diffstat (limited to 'compiler/rustc_hir')
-rw-r--r--compiler/rustc_hir/src/lang_items.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir/src/lang_items.rs b/compiler/rustc_hir/src/lang_items.rs
index e1c030d3e19..7ddafc9083a 100644
--- a/compiler/rustc_hir/src/lang_items.rs
+++ b/compiler/rustc_hir/src/lang_items.rs
@@ -332,6 +332,7 @@ language_item_table! {
RangeTo, sym::RangeTo, range_to_struct, Target::Struct, GenericRequirement::None;
String, sym::String, string, Target::Struct, GenericRequirement::None;
+ CStr, sym::CStr, c_str, Target::Struct, GenericRequirement::None;
}
pub enum GenericRequirement {