@@ -8,7 +8,6 @@ fn main() {
88 //~^ ERROR mismatched types
99 None => { }
1010 //~^ ERROR mismatched types
11- //~| HELP introduce a new binding instead
1211 }
1312
1413 match & x {
@@ -18,7 +17,6 @@ fn main() {
1817 //~^ ERROR mismatched types
1918 None => { }
2019 //~^ ERROR mismatched types
21- //~| HELP introduce a new binding instead
2220 }
2321
2422 let mut y = Box :: new ( Some ( 1 ) ) ;
@@ -29,7 +27,6 @@ fn main() {
2927 //~^ ERROR mismatched types
3028 None => { }
3129 //~^ ERROR mismatched types
32- //~| HELP introduce a new binding instead
3330 }
3431
3532 let mut z = Arc :: new ( Some ( 1 ) ) ;
@@ -40,7 +37,6 @@ fn main() {
4037 //~^ ERROR mismatched types
4138 None => { }
4239 //~^ ERROR mismatched types
43- //~| HELP introduce a new binding instead
4440 }
4541
4642 let z_const: & Arc < Option < i32 > > = & z;
@@ -51,7 +47,6 @@ fn main() {
5147 //~^ ERROR mismatched types
5248 None => { }
5349 //~^ ERROR mismatched types
54- //~| HELP introduce a new binding instead
5550 }
5651
5752 // Normal reference because Arc doesn't implement DerefMut.
@@ -63,7 +58,6 @@ fn main() {
6358 //~^ ERROR mismatched types
6459 None => { }
6560 //~^ ERROR mismatched types
66- //~| HELP introduce a new binding instead
6761 }
6862
6963 // Mutable reference because Box does implement DerefMut.
@@ -75,7 +69,6 @@ fn main() {
7569 //~^ ERROR mismatched types
7670 None => { }
7771 //~^ ERROR mismatched types
78- //~| HELP introduce a new binding instead
7972 }
8073
8174 // Difficult expression.
@@ -87,6 +80,5 @@ fn main() {
8780 //~^ ERROR mismatched types
8881 None => { }
8982 //~^ ERROR mismatched types
90- //~| HELP introduce a new binding instead
9183 }
9284}
0 commit comments