One of the E0599 note disappears when using specialization #55140
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-specialization
Area: Trait impl specialization
C-bug
Category: This is a bug.
F-specialization
`#![feature(specialization)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Take the following code:
(derived from
src/test/ui/unique-pinned-nocopy.rs
)This fails to compile with:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2015&gist=bf41d2dae1e36b2cb0ef6d8cae3529e4
Now, add the following:
and it now fails with:
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2015&gist=76f69c7ad78d25413784e9cbfd306583
The following note disappeared, but seems like it should still be emitted:
The text was updated successfully, but these errors were encountered: