diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2021-05-12 13:19:57 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2021-05-15 10:37:30 +0200 |
| commit | c95a5682f76ab5e5b1be93237cc5b381ba5bb50c (patch) | |
| tree | 272ecd7c7ac0ddd053f3254aad400d1354c32bff /compiler/rustc_query_system | |
| parent | eb82187b13a4df1b364b8f9fdafc979791e024cf (diff) | |
| download | rust-c95a5682f76ab5e5b1be93237cc5b381ba5bb50c.tar.gz rust-c95a5682f76ab5e5b1be93237cc5b381ba5bb50c.zip | |
Remove def_path_str.
Diffstat (limited to 'compiler/rustc_query_system')
| -rw-r--r-- | compiler/rustc_query_system/src/query/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_query_system/src/query/mod.rs b/compiler/rustc_query_system/src/query/mod.rs index aef8a13ccef..927e8117f05 100644 --- a/compiler/rustc_query_system/src/query/mod.rs +++ b/compiler/rustc_query_system/src/query/mod.rs @@ -19,7 +19,6 @@ use crate::dep_graph::{DepNode, DepNodeIndex, HasDepContext, SerializedDepNodeIn use rustc_data_structures::sync::Lock; use rustc_data_structures::thin_vec::ThinVec; use rustc_errors::Diagnostic; -use rustc_span::def_id::DefId; use rustc_span::Span; /// Description of a frame in the query stack. @@ -64,9 +63,6 @@ impl QueryStackFrame { } pub trait QueryContext: HasDepContext { - /// Get string representation from DefPath. - fn def_path_str(&self, def_id: DefId) -> String; - /// Get the query information from the TLS context. fn current_query_job(&self) -> Option<QueryJobId<Self::DepKind>>; |
