Skip to content

Commit 12687d6

Browse files
committed
test: update error message
The error messages changed slightly, hence update them. Also a newer version of Tarpaulin is needed, so that it also uses those newer error messages.
1 parent 551e12c commit 12687d6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
name: Code Coverage
101101
runs-on: ubuntu-latest
102102
container:
103-
image: xd009642/tarpaulin:0.31.2
103+
image: xd009642/tarpaulin:0.32.8
104104
options: --security-opt seccomp=unconfined
105105
steps:
106106
- name: Checkout repository

derive/tests/fail/no_allow_same_code_twice.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: the #mh(code) attribute `0x0` is defined multiple times, previous definition at line 0
1+
error: the #mh(code) attribute `0x0` is defined multiple times, previous definition at line 19
22
--> tests/fail/no_allow_same_code_twice.rs:21:17
33
|
44
21 | #[mh(code = 0x0, hasher = FooHasher)]

derive/tests/fail/no_allow_same_name_twice.stderr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ note: `Code` defined here
3232
22 | Foo,
3333
| --- not covered
3434
= note: the matched value is of type `&Code`
35-
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
3635

3736
warning: unreachable pattern
3837
--> tests/fail/no_allow_same_name_twice.rs:18:10

0 commit comments

Comments
 (0)