]> git.proxmox.com Git - rustc.git/blame - src/test/ui/typeck/issue-89044-wrapped-expr-method.fixed
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / typeck / issue-89044-wrapped-expr-method.fixed
CommitLineData
c295e0f8
XL
1// run-rustfix
2
3fn main() {
4 let a = Some(42);
5 println!(
6 "The value is {}.",
7 (a.unwrap()) //~ERROR [E0615]
8 );
9}