Skip to content

tests/ui/issues/issue-29485.rs has a useless #[feature(recover)] #157478

@jieyouxu

Description

@jieyouxu

Remark (not for this PR): introduced in a17fb64, this #[feature(recover)] is (1) useless, as it's the outer attribute applied to the extern crate thus triggering unused_attributes but there's a #![allow(unused_attributes)] slapped in this test. And also #![feature(recover)] got stabilized in 1.9.

Originally posted by @jieyouxu in #157447 (comment)

NB: renamed to tests/ui/cross-crate/mut-ref-write-visible-after-unwind.rs in #157447.

Prob. (1) remove recover feature attr, (2) remove unused attr allow.

Metadata

Metadata

Assignees

Labels

A-testsuiteArea: The testsuite used to check the correctness of rustcC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions