Rollup merge of #79474 - jyn514:query-mode, r=Aaron1011
Change comments on types to doc-comments Found while investigating https://github.com/rust-lang/rust/issues/79459. r? `@Aaron1011`
This commit is contained in:
commit
afc5542a9b
@ -97,13 +97,13 @@ fn default() -> Self {
|
||||
/// The mode that trait queries run in.
|
||||
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
|
||||
pub enum TraitQueryMode {
|
||||
// Standard/un-canonicalized queries get accurate
|
||||
// spans etc. passed in and hence can do reasonable
|
||||
// error reporting on their own.
|
||||
/// Standard/un-canonicalized queries get accurate
|
||||
/// spans etc. passed in and hence can do reasonable
|
||||
/// error reporting on their own.
|
||||
Standard,
|
||||
// Canonicalized queries get dummy spans and hence
|
||||
// must generally propagate errors to
|
||||
// pre-canonicalization callsites.
|
||||
/// Canonicalized queries get dummy spans and hence
|
||||
/// must generally propagate errors to
|
||||
/// pre-canonicalization callsites.
|
||||
Canonical,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user