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
1 changed files with 6 additions and 6 deletions
|
@ -97,13 +97,13 @@ impl Default for SkipLeakCheck {
|
||||||
/// The mode that trait queries run in.
|
/// The mode that trait queries run in.
|
||||||
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
|
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
|
||||||
pub enum TraitQueryMode {
|
pub enum TraitQueryMode {
|
||||||
// Standard/un-canonicalized queries get accurate
|
/// Standard/un-canonicalized queries get accurate
|
||||||
// spans etc. passed in and hence can do reasonable
|
/// spans etc. passed in and hence can do reasonable
|
||||||
// error reporting on their own.
|
/// error reporting on their own.
|
||||||
Standard,
|
Standard,
|
||||||
// Canonicalized queries get dummy spans and hence
|
/// Canonicalized queries get dummy spans and hence
|
||||||
// must generally propagate errors to
|
/// must generally propagate errors to
|
||||||
// pre-canonicalization callsites.
|
/// pre-canonicalization callsites.
|
||||||
Canonical,
|
Canonical,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue