derail 0.3.0

An alternative to `core::error::Error`.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use derail::Visitor;

fn consume<V>(_: V)
where
    V: Visitor,
{
}

#[test]
fn mut_impl() {
    #[expect(dead_code)]
    fn inner<V>(mut x: V)
    where
        V: Visitor,
    {
        consume(&mut x);
    }
}