summaryrefslogtreecommitdiffstats
path: root/tests/ui/debuginfo/late-bound-projection.rs
blob: 6018078459cc2bcb88a05d07f2eee04b8f20f6e7 (plain)
1
2
3
4
5
6
7
// build-pass
// compile-flags: -Cdebuginfo=2 --crate-type=rlib
// Fixes issue #94998

pub trait Trait {}

pub fn run(_: &dyn FnOnce(&()) -> Box<dyn Trait + '_>) {}