Skip to content

Commit 50c372f

Browse files
kjeremyVeetaha
andcommitted
Update crates/ra_lsp_server/src/conv.rs
Co-Authored-By: Veetaha <[email protected]>
1 parent 51e2a58 commit 50c372f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/conv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ impl ConvWith<&WorldSnapshot> for &'static str {
341341
tags::KEYWORD => (SemanticTokenType::KEYWORD, vec![]),
342342
tags::KEYWORD_UNSAFE => (SemanticTokenType::KEYWORD, vec![]),
343343
tags::KEYWORD_CONTROL => (SemanticTokenType::KEYWORD, vec![]),
344-
_ => panic!("Unknown"),
344+
unknown => panic!("Unknown semantic token: {}", unknown),
345345
}
346346
}
347347
}

0 commit comments

Comments
 (0)