#![feature(negative_impls)]
#![feature(min_specialization)]
#![feature(rustc_attrs)]
-#![allow(rustc::potential_query_instability)]
#[macro_use]
extern crate rustc_macros;
self.name.is_real()
}
+ #[inline]
pub fn is_imported(&self) -> bool {
self.src.is_none()
}
pub trait HashStableContext {
fn def_path_hash(&self, def_id: DefId) -> DefPathHash;
fn hash_spans(&self) -> bool;
- /// Accesses `sess.opts.debugging_opts.incremental_ignore_spans` since
+ /// Accesses `sess.opts.unstable_opts.incremental_ignore_spans` since
/// we don't have easy access to a `Session`
- fn debug_opts_incremental_ignore_spans(&self) -> bool;
+ fn unstable_opts_incremental_ignore_spans(&self) -> bool;
fn def_span(&self, def_id: LocalDefId) -> Span;
fn span_data_to_lines_and_cols(
&mut self,