Skip to content

Enum Type #2346

@kgtkr

Description

@kgtkr

example

let x:Option::Some<i32>=Some(1);
pub struct A<T:Option<i32>>{
  x:T
}

impl A<Some<i32>>{
  pub fn get_x(&self)->i32{
    let Some<x>=self.x;
    x
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-langRelevant to the language team, which will review and decide on the RFC.

    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