Skip to content

Commit 3652b89

Browse files
Update src/test/ui/proc-macro/expand-expr.rs
Co-authored-by: Daniel Henry-Mantilla <[email protected]>
1 parent 47eda6b commit 3652b89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ const _: u32 = recursive_expand!(); //~ ERROR: recursion limit reached while exp
125125

126126
fn main() {
127127
// https://github.com/rust-lang/rust/issues/104414
128-
match b"a" {
128+
match b"Included file contents\n" {
129129
include_bytes!("auxiliary/included-file.txt") => (),
130-
_ => ()
130+
_ => panic!("include_bytes! in pattern"),
131131
}
132132
}

0 commit comments

Comments
 (0)