Skip to content

use of unstable function is not gated in import list #28075

Closed
@bluss

Description

@bluss

This compiles on stable:

use std::thread::{catch_panic};

but this does not:

use std::thread::catch_panic;
error: use of unstable library feature 'catch_panic': recent API addition

Fortunately, I can't find a way to actually use the import anyway, but it's a stability trap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.P-highHigh priorityT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions