diff options
| author | nils <48135649+Nilstrieb@users.noreply.github.com> | 2022-10-13 21:18:36 +0200 |
|---|---|---|
| committer | nils <48135649+Nilstrieb@users.noreply.github.com> | 2022-10-14 22:35:56 +0200 |
| commit | 24ce4cfa205da0afc8500684465bf8158bd4adae (patch) | |
| tree | 02ae34277ca3866a7e7307f15e95d3b07bd22378 /compiler/rustc_query_system | |
| parent | 167b3bd3b23bad1a8436f7a7a8637ec64d41acd6 (diff) | |
| download | rust-24ce4cfa205da0afc8500684465bf8158bd4adae.tar.gz rust-24ce4cfa205da0afc8500684465bf8158bd4adae.zip | |
Remove the `describe` method from the `QueryDescription` trait
It was called directly already, but now it's even more useless since it just forwards to the free function. Call it directly.
Diffstat (limited to 'compiler/rustc_query_system')
| -rw-r--r-- | compiler/rustc_query_system/src/query/config.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_query_system/src/query/config.rs b/compiler/rustc_query_system/src/query/config.rs index c4549cc9eb4..0a1cffa3b33 100644 --- a/compiler/rustc_query_system/src/query/config.rs +++ b/compiler/rustc_query_system/src/query/config.rs @@ -49,8 +49,6 @@ impl<CTX: QueryContext, K, V> QueryVTable<CTX, K, V> { pub trait QueryDescription<CTX: QueryContext>: QueryConfig { type Cache: QueryCache<Key = Self::Key, Stored = Self::Stored, Value = Self::Value>; - fn describe(tcx: CTX, key: Self::Key) -> String; - // Don't use this method to access query results, instead use the methods on TyCtxt fn query_state<'a>(tcx: CTX) -> &'a QueryState<Self::Key> where |
