File tree Expand file tree Collapse file tree 3 files changed +0
-211
lines changed
Expand file tree Collapse file tree 3 files changed +0
-211
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -109,7 +109,6 @@ mod handlers {
109109 mod replace_let_with_if_let;
110110 mod replace_qualified_name_with_use;
111111 mod replace_string_with_char;
112- mod replace_unwrap_with_match;
113112 mod split_import;
114113 mod toggle_ignore;
115114 mod unmerge_use;
@@ -182,7 +181,6 @@ mod handlers {
182181 replace_impl_trait_with_generic:: replace_impl_trait_with_generic,
183182 replace_let_with_if_let:: replace_let_with_if_let,
184183 replace_qualified_name_with_use:: replace_qualified_name_with_use,
185- replace_unwrap_with_match:: replace_unwrap_with_match,
186184 split_import:: split_import,
187185 toggle_ignore:: toggle_ignore,
188186 unmerge_use:: unmerge_use,
Original file line number Diff line number Diff line change @@ -1506,29 +1506,6 @@ fn main() {
15061506 )
15071507}
15081508
1509- #[ test]
1510- fn doctest_replace_unwrap_with_match ( ) {
1511- check_doc_test (
1512- "replace_unwrap_with_match" ,
1513- r#####"
1514- //- minicore: result
1515- fn main() {
1516- let x: Result<i32, i32> = Ok(92);
1517- let y = x.$0unwrap();
1518- }
1519- "##### ,
1520- r#####"
1521- fn main() {
1522- let x: Result<i32, i32> = Ok(92);
1523- let y = match x {
1524- Ok(it) => it,
1525- $0_ => unreachable!(),
1526- };
1527- }
1528- "##### ,
1529- )
1530- }
1531-
15321509#[ test]
15331510fn doctest_split_import ( ) {
15341511 check_doc_test (
You can’t perform that action at this time.
0 commit comments