diff options
| author | Boxy <supbscripter@gmail.com> | 2023-02-12 19:32:07 +0000 |
|---|---|---|
| committer | Boxy <supbscripter@gmail.com> | 2023-02-12 19:32:07 +0000 |
| commit | 57ad73aa27dcfc1341e62738b3b79690a51beccd (patch) | |
| tree | 00180c3218add053a74477f459aec025ac562366 /compiler/rustc_middle/src/query | |
| parent | a85b0101e6a1d7d2a7a51d0e5472c1a1215b3031 (diff) | |
| download | rust-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.rs | 2 |
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"} } } |
