We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6275eb1 commit 843806bCopy full SHA for 843806b
crates/intern/src/symbol.rs
@@ -39,7 +39,7 @@ unsafe impl Sync for TaggedArcPtr {}
39
impl TaggedArcPtr {
40
const BOOL_BITS: usize = true as usize;
41
42
- const fn non_arc(r: &&str) -> Self {
+ const fn non_arc(r: &'static &'static str) -> Self {
43
Self {
44
// SAFETY: The pointer is non-null as it is derived from a reference
45
// Ideally we would call out to `pack_arc` but for a `false` tag, unfortunately the
crates/intern/src/symbol/symbols.rs
@@ -1,3 +1,4 @@
1
+//! Module defining all known symbols required by the rest of rust-analyzer.
2
#![allow(non_upper_case_globals)]
3
4
use std::hash::{BuildHasherDefault, Hash as _, Hasher as _};
0 commit comments