Skip to content

Fix type of get_tydesc intrinsic in typeck::check::check_intrinsic_type #3730

Closed

Description

@catamorphism

Should be *intrinsic::tydesc and not *().

Activity

  1. added a commit that references this issue on Feb 26, 2013
    bdaac46
  2. catamorphism commented on Mar 26, 2013

    @catamorphism
    ContributorAuthor

    Not critical for 0.6, de-milestoning

  3. bstrie commented on Jun 6, 2013

    @bstrie
    Contributor

    https://github.com/mozilla/rust/blob/incoming/src/librustc/front/intrinsic.rs#L21

        pub fn get_tydesc<T>() -> *TyDesc {
            unsafe {
                rusti::get_tydesc::<T>() as *TyDesc
            }
        }

    This appears to be fixed, closing.

  4. alexcrichton commented on Jun 15, 2013

    @alexcrichton
    Member

    I don't think this is closed. This look like the point of the issue is to get rid of the as *TyDesc cast. I could be wrong though.

  5. emberian commented on Aug 5, 2013

    @emberian
    Contributor

    This has been fixed

  6. added a commit that references this issue on Jul 29, 2024
    12cb742
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

    A-type-systemArea: Type systemE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions