diff options
| author | clubby789 <jamie@hill-daniel.co.uk> | 2022-11-14 19:44:30 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-14 19:44:30 +0000 |
| commit | 3652b89f85cd32d47f46f71934d054fc5cf5c2f8 (patch) | |
| tree | 1160899e363784f67e805bbcf38a98520072b95c | |
| parent | 47eda6b7dbca58eec691bc9faf95791d9379ccbe (diff) | |
| download | rust-3652b89f85cd32d47f46f71934d054fc5cf5c2f8.tar.gz rust-3652b89f85cd32d47f46f71934d054fc5cf5c2f8.zip | |
Update src/test/ui/proc-macro/expand-expr.rs
Co-authored-by: Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>
| -rw-r--r-- | src/test/ui/proc-macro/expand-expr.rs | 4 |
1 files 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 @@ const _: u32 = recursive_expand!(); //~ ERROR: recursion limit reached while exp 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"), } } |
