ctfe, const_to_op
only for mir constants
This commit is contained in:
parent
638b612154
commit
526856768d
6 changed files with 40 additions and 49 deletions
|
@ -679,7 +679,7 @@ macro_rules! ClonePatternFoldableImpls {
|
|||
}
|
||||
|
||||
ClonePatternFoldableImpls! { <'tcx>
|
||||
Span, Field, Mutability, Symbol, LocalVarId, usize, ty::Const<'tcx>,
|
||||
Span, Field, Mutability, Symbol, LocalVarId, usize,
|
||||
Region<'tcx>, Ty<'tcx>, BindingMode, AdtDef<'tcx>,
|
||||
SubstsRef<'tcx>, &'tcx GenericArg<'tcx>, UserType<'tcx>,
|
||||
UserTypeProjection, CanonicalUserTypeAnnotation<'tcx>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue