We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0e4026 commit e7c11a7Copy full SHA for e7c11a7
crates/ide-diagnostics/src/handlers/macro_error.rs
@@ -157,6 +157,7 @@ struct S;
157
fn macro_diag_builtin() {
158
check_diagnostics(
159
r#"
160
+//- minicore: fmt
161
#[rustc_builtin_macro]
162
macro_rules! env {}
163
@@ -166,9 +167,6 @@ macro_rules! include {}
166
167
168
macro_rules! compile_error {}
169
-#[rustc_builtin_macro]
170
-macro_rules! format_args { () => {} }
171
-
172
fn main() {
173
// Test a handful of built-in (eager) macros:
174
@@ -189,7 +187,7 @@ fn main() {
189
187
// Lazy:
190
188
191
format_args!();
192
- //^^^^^^^^^^^ error: no rule matches input tokens
+ //^^^^^^^^^^^ error: Syntax Error in Expansion: expected expression
193
}
194
"#,
195
);
0 commit comments