Home
last modified time | relevance | path

Searched refs:SpanlessEq (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/syn/tests/common/
Deq.rs32 pub trait SpanlessEq { interface
36 impl<T: SpanlessEq> SpanlessEq for Box<T> {
38 SpanlessEq::eq(&**self, &**other) in eq()
42 impl<T: SpanlessEq> SpanlessEq for P<T> {
44 SpanlessEq::eq(&**self, &**other) in eq()
48 impl<T: ?Sized + SpanlessEq> SpanlessEq for Lrc<T> {
50 SpanlessEq::eq(&**self, &**other) in eq()
54 impl<T: SpanlessEq> SpanlessEq for Option<T> {
58 (Some(this), Some(other)) => SpanlessEq::eq(this, other), in eq()
64 impl<T: SpanlessEq> SpanlessEq for [T] { impl
[all …]
/external/rust/crates/syn/tests/
Dtest_round_trip.rs12 use crate::common::eq::SpanlessEq;
128 if SpanlessEq::eq(&before, &after) { in test()
Dtest_precedence.rs21 use crate::common::eq::SpanlessEq;
175 if SpanlessEq::eq(&syn_ast, &librustc_ast) { in test_expressions()