Implement IntoDiagnosticArg for hir::ConstContext
This commit is contained in:
parent
1c4afbd1de
commit
ff9fd36aa4
4 changed files with 16 additions and 0 deletions
|
@ -1595,6 +1595,9 @@ impl fmt::Display for ConstContext {
|
|||
}
|
||||
}
|
||||
|
||||
// NOTE: `IntoDiagnosticArg` impl for `ConstContext` lives in `rustc_errors`
|
||||
// due to a cyclical dependency between hir that crate.
|
||||
|
||||
/// A literal.
|
||||
pub type Lit = Spanned<LitKind>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue