Skip to content

Commit 3821f70

Browse files
committed
---
yaml --- r: 276149 b: refs/heads/master c: 1ff1887 h: refs/heads/master i: 276147: 0fd8937
1 parent 4b9f036 commit 3821f70

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,5 +1,5 @@
11
---
2-
refs/heads/master: e416518e6862335a9c99f4c9dfe23192bac3cab8
2+
refs/heads/master: 1ff1887cc9537cf45c2bc405ce0b026ef9a2246a
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
44
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/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)