summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/negative-impl.rs
blob: 16ce7e26a99aa50eb58e53c0ea99a6c4b4265805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
impl !Display for JoinHandle {}

impl !Box<JoinHandle> {}

impl !std::fmt::Display
    for JoinHandle<T: std::future::Future + std::marker::Send + std::marker::Sync>
{
}

impl
    !JoinHandle<T: std::future::Future<Output> + std::marker::Send + std::marker::Sync + 'static>
        + 'static
{
}