remove assembly context and impl a bit more
This commit is contained in:
parent
bf7dbff921
commit
660c28391c
8 changed files with 322 additions and 168 deletions
|
@ -339,6 +339,12 @@ TrivialTypeTraversalAndLiftImpls! {
|
|||
}
|
||||
|
||||
impl<'tcx> CanonicalVarValues<'tcx> {
|
||||
/// Creates dummy var values which should not be used in a
|
||||
/// canonical response.
|
||||
pub fn dummy() -> CanonicalVarValues<'tcx> {
|
||||
CanonicalVarValues { var_values: Default::default() }
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn len(&self) -> usize {
|
||||
self.var_values.len()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue