diff options
| author | Dominik Stolz <d.stolz@tum.de> | 2022-06-28 22:35:48 +0200 |
|---|---|---|
| committer | Dominik Stolz <d.stolz@tum.de> | 2022-06-28 22:38:32 +0200 |
| commit | cd88bb332c40deda6db2c18c0bc03cfd0da42055 (patch) | |
| tree | a8c6e05321adf47e899a2b44f233ff270ff4fecc /compiler/rustc_const_eval/src/lib.rs | |
| parent | 94e93749ab00539a11e90426ea87382c433530a8 (diff) | |
| download | rust-cd88bb332c40deda6db2c18c0bc03cfd0da42055.tar.gz rust-cd88bb332c40deda6db2c18c0bc03cfd0da42055.zip | |
Improve pretty printing of valtrees for references
Diffstat (limited to 'compiler/rustc_const_eval/src/lib.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/lib.rs b/compiler/rustc_const_eval/src/lib.rs index 64a74e9d7e2..5bf91879066 100644 --- a/compiler/rustc_const_eval/src/lib.rs +++ b/compiler/rustc_const_eval/src/lib.rs @@ -42,7 +42,6 @@ pub fn provide(providers: &mut Providers) { providers.eval_to_const_value_raw = const_eval::eval_to_const_value_raw_provider; providers.eval_to_allocation_raw = const_eval::eval_to_allocation_raw_provider; providers.const_caller_location = const_eval::const_caller_location; - providers.try_destructure_const = |tcx, val| const_eval::try_destructure_const(tcx, val); providers.eval_to_valtree = |tcx, param_env_and_value| { let (param_env, raw) = param_env_and_value.into_parts(); const_eval::eval_to_valtree(tcx, param_env, raw) |
