-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Self of negative impl is not required to be well-formed #152645
Copy link
Copy link
Open
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-negative_impls#![feature(negative_impls)]#![feature(negative_impls)]T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.F-negative_impls#![feature(negative_impls)]#![feature(negative_impls)]T-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way. When possible, use a F-* label instead.This issue requires a nightly compiler in some way. When possible, use a F-* label instead.
Type
Fields
Give feedbackNo fields configured for issues without a type.
feature(negative_impls)tracking issue: #68318I'm not sure if this is intended behavior or not.
I tried this code:
I expected to see this happen:
error[E0277]: the size for values of type `str` cannot be known at compilation timeInstead, this happened: successful compilation (playground)
Meta
rustc --version --verbose:no backtrace
@rustbot label F-negative_impls requires-nightly