blob: 2bc70dd588df73613bc151ef06e8826b400468b5 [file] [log] [blame] [edit]
//! This contains documentation which is linked from query modifiers used in the `rustc_queries!` proc macro.
//!
//! The dummy items in this module are used to enable hover documentation for
//! modifier names in the query list, and to allow find-all-references to list
//! all queries that use a particular modifier.
#![allow(unused, non_camel_case_types)]
// FIXME: Update and clarify documentation for these modifiers.
// tidy-alphabetical-start
//
/// # `anon` query modifier
///
/// Generate a dep node based on the dependencies of the query
pub(crate) struct anon;
/// # `arena_cache` query modifier
///
/// Use this type for the in-memory cache.
pub(crate) struct arena_cache;
/// # `cache_on_disk_if` query modifier
///
/// Cache the query to disk if the `Block` returns true.
pub(crate) struct cache_on_disk_if;
/// # `cycle_delay_bug` query modifier
///
/// A cycle error results in a delay_bug call
pub(crate) struct cycle_delay_bug;
/// # `cycle_stash` query modifier
///
/// A cycle error results in a stashed cycle error that can be unstashed and canceled later
pub(crate) struct cycle_stash;
/// # `depth_limit` query modifier
///
/// Whether the query has a call depth limit
pub(crate) struct depth_limit;
/// # `desc` query modifier
///
/// The description of the query. This modifier is required on every query.
pub(crate) struct desc;
/// # `eval_always` query modifier
///
/// Always evaluate the query, ignoring its dependencies
pub(crate) struct eval_always;
/// # `feedable` query modifier
///
/// Generate a `feed` method to set the query's value from another query.
pub(crate) struct feedable;
/// # `no_hash` query modifier
///
/// Don't hash the result, instead just mark a query red if it runs
pub(crate) struct no_hash;
/// # `separate_provide_extern` query modifier
///
/// Use a separate query provider for local and extern crates
pub(crate) struct separate_provide_extern;
// tidy-alphabetical-end