MCPcopy Create free account
hub / github.com/dtolnay/thiserror / Trait

Interface Trait

tests/test_expr.rs:98–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96#[allow(non_snake_case)]
97fn test_assoc_type_equality_constraint() {
98 pub trait Trait<T>: Display {
99 type A;
100 }
101
102 impl<T> Trait<T> for i32 {
103 type A = i32;

Callers

nothing calls this directly

Implementers 1

Calls

no outgoing calls

Tested by

no test coverage detected