diff options
author | Jonas Schievink <[email protected]> | 2021-04-03 02:12:55 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2021-04-03 02:12:55 +0100 |
commit | 6198eb74b2947deffa00dcd2e9e38a70f9fe6284 (patch) | |
tree | 27f3d2795037c74ac5d897e2ac06ef99adfed7a9 /crates/hir_expand/src/name.rs | |
parent | eaffdae3006ed0386f21dc31c499ffea24c32c98 (diff) |
Implement edition-dependent builtin `panic!` macro
Diffstat (limited to 'crates/hir_expand/src/name.rs')
-rw-r--r-- | crates/hir_expand/src/name.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir_expand/src/name.rs b/crates/hir_expand/src/name.rs index 203ebbe85..a0f8766b0 100644 --- a/crates/hir_expand/src/name.rs +++ b/crates/hir_expand/src/name.rs | |||
@@ -208,6 +208,8 @@ pub mod known { | |||
208 | line, | 208 | line, |
209 | module_path, | 209 | module_path, |
210 | assert, | 210 | assert, |
211 | core_panic, | ||
212 | std_panic, | ||
211 | stringify, | 213 | stringify, |
212 | concat, | 214 | concat, |
213 | include, | 215 | include, |