8000 Rollup of 6 pull requests by JohnTitor · Pull Request #75206 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 6 pull requests #75206

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

8000
Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a FIXME comment
  • Loading branch information
JohnTitor committed Aug 5, 2020
commit cc36c3d140b82757c5ffe94c71232d2f32fcf2a4
4 changes: 4 additions & 0 deletions src/test/ui/higher-rank-trait-bounds/issue-59311.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}< 85C4 /span>
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/higher-rank-trait-bounds/issue-59311.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: higher-ranked subtype error
--> $DIR/issue-59311.rs:13:9
--> $DIR/issue-59311.rs:17:9
|
LL | v.t(|| {});
| ^^^^^
Expand Down
0