1
Fork 0

Rote changes due to the fact that ast paths no longer carry this extraneous bounds.

This commit is contained in:
Niko Matsakis 2014-11-20 15:08:48 -05:00
parent f4e29e7e9a
commit c4a3be6bd1
17 changed files with 60 additions and 75 deletions

View file

@ -482,8 +482,7 @@ fn mk_tests(cx: &TestCtxt) -> P<ast::Item> {
let ecx = &cx.ext_cx;
let struct_type = ecx.ty_path(ecx.path(sp, vec![ecx.ident_of("self"),
ecx.ident_of("test"),
ecx.ident_of("TestDescAndFn")]),
None);
ecx.ident_of("TestDescAndFn")]));
let static_lt = ecx.lifetime(sp, token::special_idents::static_lifetime.name);
// &'static [self::test::TestDescAndFn]
let static_type = ecx.ty_rptr(sp,