about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-04 16:25:32 +0100
committerGitHub <noreply@github.com>2022-12-04 16:25:32 +0100
commitb1816833bd9f0d38c1866e883c261aafe1767485 (patch)
tree9ff3fe76b055afefda9e90fb85f6af808902e54a /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent7dbd1603b873527cbce2ac3f289f271b138cfc68 (diff)
parente4812583c70db2259b952829a7412dea96c5afdd (diff)
downloadrust-b1816833bd9f0d38c1866e883c261aafe1767485.tar.gz
rust-b1816833bd9f0d38c1866e883c261aafe1767485.zip
Rollup merge of #105141 - ohno418:fix-ice-on-invalid-var-decl-in-macro-call, r=compiler-errors
Fix ICE on invalid variable declarations in macro calls

This fixes ICE that happens with invalid variable declarations in macro calls like:

```rust
macro_rules! m { ($s:stmt) => {} }
m! { var x }
m! { auto x }
m! { mut x }
```

Found this is because of not collecting tokens on recovery, so I changed to force collect them.

Fixes https://github.com/rust-lang/rust/issues/103529.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions