Skip to content

do catch is accidentally stable in 2018 edition #52604

Closed

Description

@scottmcm

This works with no #![feature]:

fn main() {
    let x: Option<_> = do catch { 4 };
}

https://play.rust-lang.org/?gist=ed21b1848a1114ed7f7fefc13bdb8880&version=nightly&mode=debug&edition=2018

I expect this to be fixed with #52602, but wanted to file explicitly for tracking.

Activity

  1. added a commit that references this issue on Aug 6, 2018
    1fd8e57
  2. added a commit that references this issue on Aug 7, 2018
    9da780d
  3. added a commit that references this issue on Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    WG-epochWorking group: Epoch (2018) management

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions