Skip to content

2018 edition allows ungated access to unstable crates #52489

Closed
@alexcrichton

Description

@alexcrichton

When compiled with --edition 2018 this code compiles just fine:

use rustc;

fn main() {}

That's bad!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-edition-2018Area: The 2018 editionF-rust_2018_preview`#![feature(rust_2018_preview)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions