difftreelog
fix fully qualified struct paths in Either!
in: master
2 files changed
crates/jrsonnet-evaluator/src/typed/conversions.rsdiffbeforeafterboth--- a/crates/jrsonnet-evaluator/src/typed/conversions.rs
+++ b/crates/jrsonnet-evaluator/src/typed/conversions.rs
@@ -511,13 +511,13 @@
);
#[macro_export]
macro_rules! Either {
- ($a:ty) => {Either1<$a>};
- ($a:ty, $b:ty) => {Either2<$a, $b>};
- ($a:ty, $b:ty, $c:ty) => {Either3<$a, $b, $c>};
- ($a:ty, $b:ty, $c:ty, $d:ty) => {Either4<$a, $b, $c, $d>};
- ($a:ty, $b:ty, $c:ty, $d:ty, $e:ty) => {Either5<$a, $b, $c, $d, $e>};
- ($a:ty, $b:ty, $c:ty, $d:ty, $e:ty, $f:ty) => {Either6<$a, $b, $c, $d, $e, $f>};
- ($a:ty, $b:ty, $c:ty, $d:ty, $e:ty, $f:ty, $g:ty) => {Either7<$a, $b, $c, $d, $e, $f, $g>};
+ ($a:ty) => {$crate::typed::Either1<$a>};
+ ($a:ty, $b:ty) => {$crate::typed::Either2<$a, $b>};
+ ($a:ty, $b:ty, $c:ty) => {$crate::typed::Either3<$a, $b, $c>};
+ ($a:ty, $b:ty, $c:ty, $d:ty) => {$crate::typed::Either4<$a, $b, $c, $d>};
+ ($a:ty, $b:ty, $c:ty, $d:ty, $e:ty) => {$crate::typed::Either5<$a, $b, $c, $d, $e>};
+ ($a:ty, $b:ty, $c:ty, $d:ty, $e:ty, $f:ty) => {$crate::typed::Either6<$a, $b, $c, $d, $e, $f>};
+ ($a:ty, $b:ty, $c:ty, $d:ty, $e:ty, $f:ty, $g:ty) => {$crate::typed::Either7<$a, $b, $c, $d, $e, $f, $g>};
}
pub use Either;
crates/jrsonnet-stdlib/src/misc.rsdiffbeforeafterboth64 match &str {64 match &str {65 Val::Str(s) => s.clone().into_flat(),65 Val::Str(s) => s.clone().into_flat(),66 Val::Func(f) => format!("{f:?}").into(),66 Val::Func(f) => format!("{f:?}").into(),67 v => v67 v => v.manifest(JsonFormat::debug())?.into(),68 .manifest(JsonFormat::std_to_json(69 String::from(" "),70 "\n",71 ": ",72 #[cfg(feature = "exp-preserve-order")]73 true,74 ))?75 .into(),76 },68 },