Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
10
vendor/bitflags/tests/compile-fail/visibility/private_field.stderr.beta
vendored
Normal file
10
vendor/bitflags/tests/compile-fail/visibility/private_field.stderr.beta
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
error[E0616]: field `bits` of struct `Flags1` is private
|
||||
--> $DIR/private_field.rs:12:41
|
||||
|
|
||||
12 | let flag1 = example::Flags1::FLAG_A.bits;
|
||||
| ^^^^ private field
|
||||
|
|
||||
help: a method `bits` also exists, call it with parentheses
|
||||
|
|
||||
12 | let flag1 = example::Flags1::FLAG_A.bits();
|
||||
| ^^
|
||||
Loading…
Add table
Add a link
Reference in a new issue