diff options
| author | 许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com> | 2025-04-07 12:37:32 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-07 12:37:32 +0800 |
| commit | 30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60 (patch) | |
| tree | 2478093c3b93e98d9a90c99a012c6862eedd96f3 /compiler/rustc_query_impl/src | |
| parent | 1ec36e12e86ec798d2d38efa074705a71e0dee47 (diff) | |
| parent | 5a28e1e8de868757716d97aa0c0c1d7764122c32 (diff) | |
| download | rust-30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60.tar.gz rust-30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60.zip | |
Merge pull request #2291 from rust-lang/rustc-pull
Rustc pull update
Diffstat (limited to 'compiler/rustc_query_impl/src')
| -rw-r--r-- | compiler/rustc_query_impl/src/plumbing.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs index 3238c7a0912..19ccc5587d6 100644 --- a/compiler/rustc_query_impl/src/plumbing.rs +++ b/compiler/rustc_query_impl/src/plumbing.rs @@ -870,6 +870,17 @@ macro_rules! define_queries { } } + pub(crate) fn AnonZeroDeps<'tcx>() -> DepKindStruct<'tcx> { + DepKindStruct { + is_anon: true, + is_eval_always: false, + fingerprint_style: FingerprintStyle::Opaque, + force_from_dep_node: Some(|_, _, _| bug!("cannot force an anon node")), + try_load_from_on_disk_cache: None, + name: &"AnonZeroDeps", + } + } + pub(crate) fn TraitSelect<'tcx>() -> DepKindStruct<'tcx> { DepKindStruct { is_anon: true, |
