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
use derail::Visitor;

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

#[test]
fn box_impl() {
    #[expect(dead_code)]
    fn produce(x: Box<dyn Visitor<Details = ()>>) {
        consume(x);
    }
}