Skip to content

Hovering Self of an impl does not show memory layout  #15132

@Veykril

Description

@Veykril
struct Foo(i32) where Self:; // This `Self` works, as its an ADT Self type

// these two do not as they are impl self types, but we can totally calculate the layout of these 
impl Foo {
    fn f() -> Self 
		where Self: 
	{loop {}}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-hoverhover featureA-layoutMemory layout of typesC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions