Skip to content

Playground links from code blocks in books need to obey edition2018 flag #58491

Closed
@rchaser53

Description

@rchaser53

EDIT: The error here is actually from clicking the playground link, not that there's a problem with the code, or how the book's testpass is running. Original description follows.


It seems that #![feature(try_blocks)] is not worked now.
link: https://doc.rust-lang.org/unstable-book/language-features/try-blocks.html

build_failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc 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