16 lines
564 B
Plaintext
16 lines
564 B
Plaintext
error[E0599]: no method named `build` found for struct `Builder<false, true>` in the current scope
|
|
--> $DIR/lookup-method.rs:17:14
|
|
|
|
|
LL | struct Builder<const A: bool, const B: bool>;
|
|
| -------------------------------------------- method `build` not found for this struct
|
|
...
|
|
LL | b.cast().build();
|
|
| ^^^^^ method not found in `Builder<false, true>`
|
|
|
|
|
= note: the method was found for
|
|
- `Builder<true, true>`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0599`.
|