libsyntax: add some more explicit copies
This commit is contained in:
parent
da7aedc230
commit
ea36a0dee1
6 changed files with 160 additions and 91 deletions
|
@ -3492,7 +3492,7 @@ pub impl Parser {
|
|||
};
|
||||
let full_path = full_path.normalize();
|
||||
let p0 =
|
||||
new_sub_parser_from_file(self.sess, self.cfg,
|
||||
new_sub_parser_from_file(self.sess, copy self.cfg,
|
||||
&full_path, id_sp);
|
||||
let (inner, next) = p0.parse_inner_attrs_and_next();
|
||||
let mod_attrs = vec::append(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue