Move edition outside the hygiene lock and avoid accessing it
This commit is contained in:
parent
50a0defd5a
commit
a1f2dceaeb
39 changed files with 155 additions and 139 deletions
|
|
@ -291,7 +291,7 @@ fn generate_test_harness(sess: &ParseSess,
|
|||
].into()),
|
||||
allow_internal_unsafe: false,
|
||||
local_inner_macros: false,
|
||||
edition: hygiene::default_edition(),
|
||||
edition: sess.edition,
|
||||
});
|
||||
|
||||
TestHarnessGenerator {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue