Remove dead cfg method

This commit is contained in:
Mark Rousskov
2019-11-29 09:18:56 -05:00
parent f2a8aed380
commit e810b7ef5c
-1
View File
@@ -924,7 +924,6 @@ pub fn new_parser_from_tts(&self, stream: TokenStream) -> parser::Parser<'a> {
}
pub fn source_map(&self) -> &'a SourceMap { self.parse_sess.source_map() }
pub fn parse_sess(&self) -> &'a ParseSess { self.parse_sess }
pub fn cfg(&self) -> &ast::CrateConfig { &self.parse_sess.config }
pub fn call_site(&self) -> Span {
self.current_expansion.id.expn_data().call_site
}