Fix fulldeps test with NodeId

This commit is contained in:
Oliver Scherer 2018-11-08 18:23:52 +01:00
parent 4c9ee59584
commit e5fd34c1ae

View File

@ -43,7 +43,7 @@ fn expand_mbe_matches(cx: &mut ExtCtxt, _: Span, args: &[TokenTree])
&[], &[],
Edition::Edition2015, Edition::Edition2015,
// not used... // not used...
NodeId::new(0)); NodeId::from_u32(0));
let map = match TokenTree::parse(cx, &mbe_matcher, args.iter().cloned().collect()) { let map = match TokenTree::parse(cx, &mbe_matcher, args.iter().cloned().collect()) {
Success(map) => map, Success(map) => map,
Failure(_, tok) => { Failure(_, tok) => {