Skip to content

[META] merging candidates and guidance #124

@lcnr

Description

@lcnr

This interacts with a lot of different issues. see rust-lang/rust#132325 for a summary of our candidate preference

merging candidates allows more code to compile

duh! e.g. tests/ui/lifetimes/conflicting-bounds.rs

global where-bounds impl and detection

Keep 'static in the where-bounds, lazily normalize aliases in them: rust-lang/rust#140260

disabling normalization

The underlying reasoning here is "where-bounds should cover impls and alias-bounds if the where-bound is more general, as using the covered candidate may add undesirable constraints".

unnecessary region constraints by shadowing

using impls for normalization results in unnecessary region constraints

implementation bugs

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions