]> git.lizzy.rs Git - rust.git/commit
Move the missing fragment identifier checking.
authorNicholas Nethercote <n.nethercote@gmail.com>
Tue, 5 Apr 2022 06:31:30 +0000 (16:31 +1000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Tue, 5 Apr 2022 07:23:30 +0000 (17:23 +1000)
commit7300bd6a38376ead250f766a470594943fd9bb80
treeb0f4f494d4b74c96b7e1e1c56ec859d9babbcb8d
parent896d8f5905f2d63393a048dff5aeb0c23b793e7e
Move the missing fragment identifier checking.

In #95555 this was moved out of `parse_tt_inner` and `nameize` into
`compute_locs`. But the next commit will be moving `compute_locs`
outwards to a place that isn't suitable for the missing fragment
identifier checking. So this reinstates the old checking.
compiler/rustc_expand/src/mbe/macro_parser.rs