10 lines
316 B
Text
10 lines
316 B
Text
Error: Type Mismatch
|
|
╭─[assignment-rc-tuple-bool-int.txt:2:9]
|
|
│
|
|
1 │ let foo: Rc<(bool,)> = Rc((true,));
|
|
· ──┬─
|
|
· ╰─── Expected type `bool`,
|
|
2 │ foo.0 = 0;
|
|
· ┬
|
|
· ╰── but expression is of type `int`
|
|
───╯
|