Remove a redundant function argument
This commit is contained in:
parent
8f132d8549
commit
9fb91b8742
2 changed files with 3 additions and 10 deletions
|
@ -878,12 +878,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
|||
item: &ast::Item,
|
||||
edition: Edition,
|
||||
) -> (SyntaxExtension, Vec<(usize, Span)>) {
|
||||
let (mut result, mut rule_spans) = compile_declarative_macro(
|
||||
&self.tcx.sess,
|
||||
self.tcx.sess.features_untracked(),
|
||||
item,
|
||||
edition,
|
||||
);
|
||||
let (mut result, mut rule_spans) = compile_declarative_macro(self.tcx.sess, item, edition);
|
||||
|
||||
if let Some(builtin_name) = result.builtin_name {
|
||||
// The macro was marked with `#[rustc_builtin_macro]`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue