Rollup merge of #30420 - petrochenkov:owned2, r=nrc
Part of https://github.com/rust-lang/rust/pull/30095 not causing mysterious segfaults. r? @nrc
This commit is contained in:
commit
9e953df6f0
33 changed files with 400 additions and 413 deletions
|
@ -671,7 +671,6 @@ mod tests {
|
|||
use super::*;
|
||||
use std::rc::Rc;
|
||||
use codemap::{Span, BytePos, Pos, Spanned, NO_EXPANSION};
|
||||
use owned_slice::OwnedSlice;
|
||||
use ast::{self, TokenTree};
|
||||
use abi;
|
||||
use attr::{first_attr_value_str_by_name, AttrMetaMethods};
|
||||
|
@ -947,7 +946,7 @@ mod tests {
|
|||
abi::Rust,
|
||||
ast::Generics{ // no idea on either of these:
|
||||
lifetimes: Vec::new(),
|
||||
ty_params: OwnedSlice::empty(),
|
||||
ty_params: P::empty(),
|
||||
where_clause: ast::WhereClause {
|
||||
id: ast::DUMMY_NODE_ID,
|
||||
predicates: Vec::new(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue