diff --git a/src/tools/rust-analyzer/crates/hir-ty/src/tests/regression/new_solver.rs b/src/tools/rust-analyzer/crates/hir-ty/src/tests/regression/new_solver.rs index 4866a038d64a..420a316009a3 100644 --- a/src/tools/rust-analyzer/crates/hir-ty/src/tests/regression/new_solver.rs +++ b/src/tools/rust-analyzer/crates/hir-ty/src/tests/regression/new_solver.rs @@ -554,13 +554,11 @@ fn do_something(&self) -> impl Future { } #[test] -// #[should_panic(expected = "Unexpected type mismatches")] fn regression_19957() { // This test documents issue #19957: async-trait patterns incorrectly produce // type mismatches between Pin> and Pin>. // // The test currently FAILS (as expected) because the bug is not yet fixed. - // When the bug is fixed, remove the #[should_panic] attribute. check_no_mismatches( r#" //- minicore: future, pin, result, error, send, coerce_unsized, dispatch_from_dyn