Skip to content

handle_opaque_type_uses happens after fallback #240

@lcnr

Description

@lcnr

causing this test to fail with the new solver

#[derive(Clone, Copy)]
struct FileSystem;
impl FileSystem {
    fn build<T>(self, commands: T) -> Option<impl Sized> {
        match false {
            true => Some(commands),
            false => {
                drop(match self.build::<_>(commands) {
                    Some(x) => x,
                    None => return None,
                });
                panic!()
            },
        }
    }
}

i don't understand how fallback works :3

Metadata

Metadata

Assignees

Labels

from-craterA regression found via a crater run, not part of our test suite

Type

No type

Projects

Status

in progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions