Skip to content

Commit ae0891a

Browse files
committed
---
yaml --- r: 277531 b: refs/heads/try c: 1ff1887 h: refs/heads/master i: 277529: fbbd37e 277527: 9365eca
1 parent bc5e38c commit ae0891a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 6dbb0e86aec11050480beb76eade6fb805010ba7
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
4-
refs/heads/try: e416518e6862335a9c99f4c9dfe23192bac3cab8
4+
refs/heads/try: 1ff1887cc9537cf45c2bc405ce0b026ef9a2246a
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/libsyntax/ext/expand.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ fn expand_mac_invoc<T, F, G>(mac: ast::Mac,
222222
pth.span,
223223
&format!("macro undefined: '{}!'",
224224
&extname));
225-
fld.cx.suggest_macro_name(&extname.as_str(), pth.span, &mut err);
225+
fld.cx.suggest_macro_name(&extname.as_str(), &mut err);
226226
err.emit();
227227

228228
// let compilation continue
@@ -355,8 +355,8 @@ fn contains_macro_use(fld: &mut MacroExpander, attrs: &[ast::Attribute]) -> bool
355355
"macro_escape is a deprecated synonym for macro_use");
356356
is_use = true;
357357
if let ast::AttrStyle::Inner = attr.node.style {
358-
err.fileline_help(attr.span, "consider an outer attribute, \
359-
#[macro_use] mod ...").emit();
358+
err.help("consider an outer attribute, \
359+
#[macro_use] mod ...").emit();
360360
} else {
361361
err.emit();
362362
}

0 commit comments

Comments
 (0)