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 5659310 commit 298e160Copy full SHA for 298e160
compiler/rustc_ast_lowering/src/format.rs
@@ -334,13 +334,8 @@ fn may_contain_yield_point(e: &ast::Expr) -> bool {
334
}
335
336
fn visit_mac_call(&mut self, _: &ast::MacCall) {
337
- self.0 = true;
338
- }
339
-
340
- fn visit_attribute(&mut self, _: &ast::Attribute) {
341
- // Conservatively assume this may be a proc macro attribute in
342
- // expression position.
343
+ // Macros should be expanded at this point.
+ unreachable!("unexpanded macro in ast lowering");
344
345
346
fn visit_item(&mut self, _: &ast::Item) {
0 commit comments