mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Move rustc_middle::values module to rustc_middle::query::values.
It's a better place for it, because it relates to queries.
This commit is contained in:
@@ -81,7 +81,6 @@
|
||||
pub mod traits;
|
||||
pub mod ty;
|
||||
pub mod util;
|
||||
pub mod values;
|
||||
|
||||
#[macro_use]
|
||||
pub mod query;
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
pub mod on_disk_cache;
|
||||
#[macro_use]
|
||||
pub mod plumbing;
|
||||
pub mod values;
|
||||
|
||||
pub fn describe_as_module(def_id: impl Into<LocalDefId>, tcx: TyCtxt<'_>) -> String {
|
||||
let def_id = def_id.into();
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
use rustc_middle::query::AsLocalKey;
|
||||
use rustc_middle::query::on_disk_cache::{CacheEncoder, EncodedDepNodeIndex, OnDiskCache};
|
||||
use rustc_middle::query::plumbing::{QuerySystem, QuerySystemFns, QueryVTable};
|
||||
use rustc_middle::query::values::Value;
|
||||
use rustc_middle::ty::TyCtxt;
|
||||
use rustc_middle::values::Value;
|
||||
use rustc_query_system::dep_graph::SerializedDepNodeIndex;
|
||||
use rustc_query_system::ich::StableHashingContext;
|
||||
use rustc_query_system::query::{
|
||||
|
||||
Reference in New Issue
Block a user