Auto merge of #77595 - petrochenkov:asmident, r=oli-obk
builtin_macros: Fix use of interpolated identifiers in `asm!` Fixes https://github.com/rust-lang/rust/issues/77584
This commit is contained in:
commit
a14bf4862d
5 changed files with 95 additions and 20 deletions
|
@ -386,7 +386,7 @@ impl<'a> Parser<'a> {
|
|||
next
|
||||
}
|
||||
|
||||
crate fn unexpected<T>(&mut self) -> PResult<'a, T> {
|
||||
pub fn unexpected<T>(&mut self) -> PResult<'a, T> {
|
||||
match self.expect_one_of(&[], &[]) {
|
||||
Err(e) => Err(e),
|
||||
// We can get `Ok(true)` from `recover_closing_delimiter`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue