]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/higher-rank-trait-bounds/issue-59311.rs
Add a FIXME comment
[rust.git] / src / test / ui / higher-rank-trait-bounds / issue-59311.rs
index c2168510cf5b8af0a520be3dfd3b40359ce50b94..1e1241c7f83c54c767a4e2b5422ad0f5e1ff0bee 100644 (file)
@@ -2,6 +2,10 @@
 // rust-lang/rust/issues/71546#issuecomment-620638437
 // as they seem to have the same cause.
 
+// FIXME: It's not clear that this code ought to report
+// an error, but the regression test is here to ensure
+// that it does not ICE. See discussion on #74889 for details.
+
 pub trait T {
     fn t<F: Fn()>(&self, _: F) {}
 }