Rollup merge of #64664 - matklad:remove-ast-builder, r=Mark-Simulacrum
fully remove AstBuilder The mentioned Cargo test is fixed in https://github.com/rust-lang/cargo/pull/7210 I think this can be removed now?
This commit is contained in:
commit
f0e69ffb8d
1 changed files with 0 additions and 3 deletions
|
@ -9,9 +9,6 @@ use crate::ThinVec;
|
||||||
use rustc_target::spec::abi::Abi;
|
use rustc_target::spec::abi::Abi;
|
||||||
use syntax_pos::{Pos, Span};
|
use syntax_pos::{Pos, Span};
|
||||||
|
|
||||||
// Left so that Cargo tests don't break, this can be removed once those no longer use it
|
|
||||||
pub trait AstBuilder {}
|
|
||||||
|
|
||||||
impl<'a> ExtCtxt<'a> {
|
impl<'a> ExtCtxt<'a> {
|
||||||
pub fn path(&self, span: Span, strs: Vec<ast::Ident> ) -> ast::Path {
|
pub fn path(&self, span: Span, strs: Vec<ast::Ident> ) -> ast::Path {
|
||||||
self.path_all(span, false, strs, vec![], vec![])
|
self.path_all(span, false, strs, vec![], vec![])
|
||||||
|
|
Loading…
Reference in a new issue