Adjust assert_default_hashing_controls
This commit is contained in:
parent
5580e5e1dd
commit
560c90f5df
3 changed files with 22 additions and 6 deletions
|
@ -2058,6 +2058,9 @@ impl InnerSpan {
|
|||
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
|
||||
/// we don't have easy access to a `Session`
|
||||
fn debug_opts_incremental_ignore_spans(&self) -> bool;
|
||||
fn def_span(&self, def_id: LocalDefId) -> Span;
|
||||
fn span_data_to_lines_and_cols(
|
||||
&mut self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue