This repository has been archived on 2023-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
p3l/integration/fail/type-mismatch/assignment-rc-tuple-option-rc.out
2022-10-16 20:14:55 +02:00

10 lines
356 B
Text

Error: Type Mismatch
╭─[assignment-rc-tuple-option-rc.txt:2:9]
1 │ let foo: Rc<(Option<bool>,)> = Rc((None,));
· ───┬──
· ╰──── Expected type `Option<bool>`,
2 │ foo.0 = Rc(true);
· ─┬
· ╰── but expression is of type `Rc<_>`
───╯