Skip to content

Duplicate library and language feature gates silently fail #58715

Closed
@dlrobertson

Description

@dlrobertson

Summary

If a language feature and a library feature are given the same name ![feature(<name>)] will only evaluate the language feature.

Expected Result

There should either be some sort of error that is thrown if both a language feature and a library feature have the same name, or both should be evaluated.

Metadata

Metadata

Assignees

Labels

A-stabilityArea: `#[stable]`, `#[unstable]` etc.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions