mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 05:26:23 +03:00
remove comments
This commit is contained in:
@@ -554,13 +554,11 @@ fn do_something(&self) -> impl Future<Output = usize> {
|
||||
}
|
||||
|
||||
#[test]
|
||||
// #[should_panic(expected = "Unexpected type mismatches")]
|
||||
fn regression_19957() {
|
||||
// This test documents issue #19957: async-trait patterns incorrectly produce
|
||||
// type mismatches between Pin<Box<dyn Future>> and Pin<Box<impl Future>>.
|
||||
//
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user