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 ece4175 commit d492f22Copy full SHA for d492f22
src/lib.rs
@@ -27,7 +27,8 @@ struct WrappingFolder<'cx> {
27
28
impl<'cx> Folder for WrappingFolder<'cx> {
29
fn fold_mac(&mut self, mac: Mac) -> Mac {
30
- self.cx.span_fatal(mac.span, "cannot call nested macros in a `wrapping!` block");
+ self.cx.span_err(mac.span, "cannot call nested macros in a `wrapping!` block");
31
+ mac
32
}
33
34
fn fold_expr(&mut self, expr: P<Expr>) -> P<Expr> {
0 commit comments