Rename buffer_lint_with_diagnostic to buffer_lint
This commit is contained in:
parent
c4f6502c6d
commit
98dd6c7e8f
28 changed files with 57 additions and 57 deletions
|
@ -144,7 +144,7 @@ pub(crate) fn expand_include<'cx>(
|
|||
fn make_expr(mut self: Box<ExpandInclude<'a>>) -> Option<P<ast::Expr>> {
|
||||
let expr = parse_expr(&mut self.p).ok()?;
|
||||
if self.p.token != token::Eof {
|
||||
self.p.psess.buffer_lint_with_diagnostic(
|
||||
self.p.psess.buffer_lint(
|
||||
INCOMPLETE_INCLUDE,
|
||||
self.p.token.span,
|
||||
self.node_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue