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:
Nicholas Nethercote
2026-02-04 10:38:28 +11:00
parent a68bb0c371
commit 7bcb7a281e
4 changed files with 2 additions and 2 deletions
-1
View File
@@ -81,7 +81,6 @@
pub mod traits;
pub mod ty;
pub mod util;
pub mod values;
#[macro_use]
pub mod query;
+1
View File
@@ -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();
+1 -1
View File
@@ -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::{