mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
Rust: reword macro expansion error
This commit is contained in:
@@ -514,7 +514,7 @@ impl<'a> Translator<'a> {
|
||||
mcall,
|
||||
&SyntaxError::new(
|
||||
format!(
|
||||
"macro expansion failed: could not resolve macro '{}'",
|
||||
"macro expansion failed for '{}'",
|
||||
mcall.path().map(|p| p.to_string()).unwrap_or_default()
|
||||
),
|
||||
range.unwrap_or_else(|| TextRange::empty(TextSize::from(0))),
|
||||
|
||||
Reference in New Issue
Block a user