Update src/test/ui/proc-macro/expand-expr.rs

Co-authored-by: Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>
This commit is contained in:
clubby789 2022-11-14 19:44:30 +00:00 committed by GitHub
parent 47eda6b7db
commit 3652b89f85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,8 +125,8 @@ macro_rules! mac {
fn main() { fn main() {
// https://github.com/rust-lang/rust/issues/104414 // https://github.com/rust-lang/rust/issues/104414
match b"a" { match b"Included file contents\n" {
include_bytes!("auxiliary/included-file.txt") => (), include_bytes!("auxiliary/included-file.txt") => (),
_ => () _ => panic!("include_bytes! in pattern"),
} }
} }