diff options
| author | Ralf Jung <post@ralfj.de> | 2023-09-20 20:51:14 +0200 | 
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-09-21 08:12:30 +0200 | 
| commit | c94410c1458f9ea55e51fc9af478d94a82ec90a0 (patch) | |
| tree | 03d021ce987ce3e284a1e0a05d0a1c7e0622d983 /compiler/rustc_middle/src/query/mod.rs | |
| parent | a2374e65aafd47fa68a3954fa2a3116c519aa7e5 (diff) | |
| download | rust-c94410c1458f9ea55e51fc9af478d94a82ec90a0.tar.gz rust-c94410c1458f9ea55e51fc9af478d94a82ec90a0.zip | |
rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::Const
Diffstat (limited to 'compiler/rustc_middle/src/query/mod.rs')
| -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 b5529568ff2..0241820ab72 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -1101,7 +1101,7 @@ rustc_queries! { desc { "destructuring type level constant"} } - /// Tries to destructure an `mir::ConstantKind` ADT or array into its variant index + /// Tries to destructure an `mir::Const` ADT or array into its variant index /// and its field values. This should only be used for pretty printing. query try_destructure_mir_constant_for_diagnostics( key: (mir::ConstValue<'tcx>, Ty<'tcx>) | 
