Skip to content
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

(fix) Fix compiler error with rust 1.31.1 #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pierrechevalier83
Copy link

Refering to Self in where clause became illegal because:

As was discovered in #50781 a combination of implementing a trait
directly for a dyn type and where clauses involving Self can punch a
hole in our dyn-capability rules.

See this issue for details:
rust-lang/rust#51443

Refering to Self in where clause became illegal because:
> As was discovered in #50781 a combination of implementing a trait
> directly for a dyn type and where clauses involving Self can punch a
> hole in our dyn-capability rules.

See this issue for details:
rust-lang/rust#51443
@pierrechevalier83
Copy link
Author

Note: to reproduce the issue,

rustup update stable
cargo test

@estk
Copy link

estk commented Oct 8, 2019

@reem This would be nice to have. log4rs is affected by this.

@Skgland
Copy link

Skgland commented Jul 18, 2024

Isn't this PR obsolete with rust-lang/rust#107082 i.e. 1.69? As where_clause_object_safety no longer applies to auto-trait bounds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants