Skip to content

Conversation

emberian
Copy link
Contributor

@emberian emberian commented Dec 4, 2014

Closes #18959

Technically, this causes code that once compiled to no longer compile, but
that code probably never ran.

[breaking-change]


Not quite sure the error message is good enough, I feel like it ought to tell you "because it inherits from non-object-safe trait Foo", so I've opened up a follow-up issue #19538

@nikomatsakis
Copy link
Contributor

r+ if the recursion is changed to iteration

Closes #18959

Technically, this causes code that once compiled to no longer compile, but
that code probably never ran.

[breaking-change]
bors added a commit that referenced this pull request Dec 7, 2014
Closes #18959

Technically, this causes code that once compiled to no longer compile, but
that code probably never ran.

[breaking-change]

------------

Not quite sure the error message is good enough, I feel like it ought to tell you "because it inherits from non-object-safe trait Foo", so I've opened up a follow-up issue #19538
@bors bors closed this Dec 7, 2014
@bors bors merged commit 6e18b5a into rust-lang:master Dec 7, 2014
stepancheg added a commit to stepancheg/rust-protobuf that referenced this pull request Dec 9, 2014
Something's changed in Rust: rust-lang/rust#19539
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.

Object safety does not consider supertraits

3 participants