Skip to content

Commit 7758a30

Browse files
committed
updated reference: new error message
1 parent b88ee09 commit 7758a30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_compile/cases/count_read_conflict.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,23 @@ error: conflicting: both `count` and `bytes_read` specified on field
2222
23 | #[deku(count = "1", bytes_read = "2")]
2323
| ^^^
2424

25-
error: conflicting: `read_all` cannot be used with `until`, `count`, `bits_read`, or `bytes_read`
25+
error: conflicting: `read_all` cannot be used with `until`, `until_with_ctx`, `count`, `bits_read`, or `bytes_read`
2626
--> $DIR/count_read_conflict.rs:27:10
2727
|
2828
27 | #[derive(DekuRead)]
2929
| ^^^^^^^^
3030
|
3131
= note: this error originates in the derive macro `DekuRead` (in Nightly builds, run with -Z macro-backtrace for more info)
3232

33-
error: conflicting: `read_all` cannot be used with `until`, `count`, `bits_read`, or `bytes_read`
33+
error: conflicting: `read_all` cannot be used with `until`, `until_with_ctx`, `count`, `bits_read`, or `bytes_read`
3434
--> $DIR/count_read_conflict.rs:33:10
3535
|
3636
33 | #[derive(DekuRead)]
3737
| ^^^^^^^^
3838
|
3939
= note: this error originates in the derive macro `DekuRead` (in Nightly builds, run with -Z macro-backtrace for more info)
4040

41-
error: conflicting: `read_all` cannot be used with `until`, `count`, `bits_read`, or `bytes_read`
41+
error: conflicting: `read_all` cannot be used with `until`, `until_with_ctx`, `count`, `bits_read`, or `bytes_read`
4242
--> $DIR/count_read_conflict.rs:39:10
4343
|
4444
39 | #[derive(DekuRead)]

0 commit comments

Comments
 (0)