Lines Matching refs:right
5 ($left:ident $op:tt $right:ident == $expected:expr) => {
6 assert_eq!((&$left) $op (&$right), $expected);
7 assert_eq!((&$left) $op $right.clone(), $expected);
8 assert_eq!($left.clone() $op (&$right), $expected);
9 assert_eq!($left.clone() $op $right.clone(), $expected);
15 ($left:ident $op:tt $right:ident == $expected:expr) => {{
17 assert_eq!({ left $op &$right; left}, $expected);
20 assert_eq!({ left $op $right.clone(); left}, $expected);
26 (($($to:ident),*) $left:ident $op:tt $right:ident == $expected:expr) => {
29 assert_op!(left $op $right == $expected);
31 if let Some(right) = $right.$to() {
32 assert_op!($left $op right == $expected);
39 ($left:ident $op:tt $right:ident == $expected:expr) => {
41 $left $op $right == $expected);
46 ($left:ident $op:tt $right:ident == $expected:expr) => {
49 $left $op $right == $expected);
55 (($($to:ident),*) $left:ident $op:tt $right:ident == $expected:expr) => {
57 if let Some(right) = $right.$to() {
59 assert_eq!({ left $op right; left}, $expected);
66 ($left:ident $op:tt $right:ident == $expected:expr) => {
68 $left $op $right == $expected);
73 ($left:ident $op:tt $right:ident == $expected:expr) => {
76 $left $op $right == $expected);