merge need_type_info_err(_const)
This commit is contained in:
parent
e0bc267512
commit
45d92b43e3
13 changed files with 148 additions and 131 deletions
|
@ -4,6 +4,7 @@ use rustc_data_structures::undo_log::UndoLogs;
|
|||
use rustc_data_structures::unify::{
|
||||
self, EqUnifyValue, InPlace, NoError, UnificationTable, UnifyKey, UnifyValue,
|
||||
};
|
||||
use rustc_span::def_id::DefId;
|
||||
use rustc_span::symbol::Symbol;
|
||||
use rustc_span::{Span, DUMMY_SP};
|
||||
|
||||
|
@ -124,8 +125,7 @@ pub struct ConstVariableOrigin {
|
|||
pub enum ConstVariableOriginKind {
|
||||
MiscVariable,
|
||||
ConstInference,
|
||||
// FIXME(const_generics): Consider storing the `DefId` of the param here.
|
||||
ConstParameterDefinition(Symbol),
|
||||
ConstParameterDefinition(Symbol, DefId),
|
||||
SubstitutionPlaceholder,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue