diff options
author | Deadbeef <ent3rm4n@gmail.com> | 2023-03-05 15:03:22 +0000 |
---|---|---|
committer | Deadbeef <ent3rm4n@gmail.com> | 2023-05-02 10:30:09 +0000 |
commit | 8ff3903643b530c9029e8f2c6c6956fda8f21d77 (patch) | |
tree | e424bc1501abc62c70ad0c622777a0c6cb4cd0e1 /compiler/rustc_hir | |
parent | 7b99493492ad59c7a44c65373558175db42b4151 (diff) | |
download | rust-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.rs | 1 |
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 { |