Skip to content

Convert check_neg_trait_impl to a judgment function #291

@nikomatsakis

Description

@nikomatsakis

Parent tracking issue: #288

Convert check_neg_trait_impl from a regular Rust function to a judgment function.

Currently it: opens the binder, proves WF + not_implemented, and validates that negative impls are not declared unsafe.

See the parent tracking issue for context and examples.

This issue has been assigned to @Mslady-jojo via this comment.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Needs triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions