about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/query
diff options
context:
space:
mode:
authorBoxy <supbscripter@gmail.com>2023-02-12 19:32:07 +0000
committerBoxy <supbscripter@gmail.com>2023-02-12 19:32:07 +0000
commit57ad73aa27dcfc1341e62738b3b79690a51beccd (patch)
tree00180c3218add053a74477f459aec025ac562366 /compiler/rustc_middle/src/query
parenta85b0101e6a1d7d2a7a51d0e5472c1a1215b3031 (diff)
downloadrust-57ad73aa27dcfc1341e62738b3b79690a51beccd.tar.gz
rust-57ad73aa27dcfc1341e62738b3b79690a51beccd.zip
rename query and use `NoSolution`
Diffstat (limited to 'compiler/rustc_middle/src/query')
-rw-r--r--compiler/rustc_middle/src/query/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs
index d8f7614c56f..b0660c3d62b 100644
--- a/compiler/rustc_middle/src/query/mod.rs
+++ b/compiler/rustc_middle/src/query/mod.rs
@@ -2172,7 +2172,7 @@ rustc_queries! {
     /// Used in `super_combine_consts` to ICE if the type of the two consts are definitely not going to end up being
     /// equal to eachother. This might return `Ok` even if the types are unequal, but will never return `Err` if
     /// the types might be equal.
-    query check_const_param_definitely_unequal(arg: Canonical<'tcx, (ty::ParamEnv<'tcx>, Ty<'tcx>, Ty<'tcx>)>) -> Result<(), ()> {
+    query check_tys_might_be_eq(arg: Canonical<'tcx, (ty::ParamEnv<'tcx>, Ty<'tcx>, Ty<'tcx>)>) -> Result<(), NoSolution> {
         desc { "check whether two const param are definitely not equal to eachother"}
     }
 }