File: bitfield_field_access_write_only_builder.stderr

package info (click to toggle)
rust-bitfields 0.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 400 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
error[E0599]: no method named `a` found for struct `BitfieldBuilder` in the current scope
  --> tests/compile_error_cases/bitfield_field_access_write_only_builder.rs:11:14
   |
3  | #[bitfield(u32)]
   | ---------------- method `a` not found for this struct
...
11 |     bitfield.a(); // Error, field is write-only
   |              ^ method not found in `BitfieldBuilder`