Skip to content

safe keyword is not feature-gated #126755

Closed
Closed
@compiler-errors

Description

@compiler-errors

In #126749, @ehuss reports:

Another issue appears that safe is not feature-gated. The following seems to build without a feature gate:

safe fn foo() {}

Originally posted by @ehuss in #126749 (comment)

Tracking:

Metadata

Metadata

Labels

P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions