Skip to content

Commit a191bab

Browse files
committed
simplified msg (TMI on old one)
1 parent 4f3a968 commit a191bab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/ext/expand.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn expand_expr(extsbox: @mut SyntaxEnv,
4444
cx.span_fatal(
4545
pth.span,
4646
fmt!("expected macro name without module \
47-
separators, got: '%?'",pth));
47+
separators"));
4848
}
4949
/* using idents and token::special_idents would make the
5050
the macro names be hygienic */
@@ -328,7 +328,7 @@ pub fn expand_stmt(extsbox: @mut SyntaxEnv,
328328
cx.span_fatal(
329329
pth.span,
330330
fmt!("expected macro name without module \
331-
separators, got: '%?'",pth));
331+
separators"));
332332
}
333333
let extname = cx.parse_sess().interner.get(pth.idents[0]);
334334
let (fully_expanded, sp) = match (*extsbox).find(&extname) {

0 commit comments

Comments
 (0)