From 3652b89f85cd32d47f46f71934d054fc5cf5c2f8 Mon Sep 17 00:00:00 2001 From: clubby789 Date: Mon, 14 Nov 2022 19:44:30 +0000 Subject: [PATCH] Update src/test/ui/proc-macro/expand-expr.rs Co-authored-by: Daniel Henry-Mantilla --- src/test/ui/proc-macro/expand-expr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/ui/proc-macro/expand-expr.rs b/src/test/ui/proc-macro/expand-expr.rs index 75a23976a64..901b3a95102 100644 --- a/src/test/ui/proc-macro/expand-expr.rs +++ b/src/test/ui/proc-macro/expand-expr.rs @@ -125,8 +125,8 @@ macro_rules! mac { fn main() { // https://github.com/rust-lang/rust/issues/104414 - match b"a" { + match b"Included file contents\n" { include_bytes!("auxiliary/included-file.txt") => (), - _ => () + _ => panic!("include_bytes! in pattern"), } } -- 2.44.0