blob: 4cbd1e17c7bea31037a3329c19ada4501233abdf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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`.
|