1
Fork 0

Rollup merge of #35480 - KiChjang:e0379-bonus, r=nikomatsakis

Move E0379 check from typeck to ast validation

Part of #35233.
Extension of #35338, #35364.
Fixes #35404.
This commit is contained in:
Jeffrey Seyfried 2016-08-28 10:32:45 +00:00
commit bd38e890ee
21 changed files with 133 additions and 68 deletions

View file

@ -937,7 +937,10 @@ mod tests {
variadic: false
}),
ast::Unsafety::Normal,
ast::Constness::NotConst,
Spanned {
span: sp(0,2),
node: ast::Constness::NotConst,
},
Abi::Rust,
ast::Generics{ // no idea on either of these:
lifetimes: Vec::new(),