Now also prints the base path, so that it's more obvious if the macro is searching the wrong path
G6B6R3FCIZFXXPDWTIHFDZB7TY3NQ7XEWSM4MJP5LWRZCJB5GK6QC
IALFWVXRDMHQTQTL2N5RJAC47VR6YDBTJ3HMSCLR2KN5JHD52E3QC
NFV26FRQF6JNR7WLU72HR7W2GDHLDGDPAX3CYHZLBQEACJ24AB4QC
OWXLFLRMQDTXWN5QQQLJNAATWFWXIN2S4UQA2LC2A6AWX4UWM6LQC
CESJ4CTO26X4GBZBPXRXLOJT3JQJOGFN5EJSNAAZELNQRZF7QSYAC
attribute::Error::NoMatchesInGlob => {
attribute::Error::NoMatchesInGlob { base_path } => {
help = "The attribute should use glob syntax to match against multiple files";
help = "Failed to match in path: {}", base_path.to_string_lossy();
"- Match against directories: locale/**/errors.ftl", "- Match against files: locale/*.ftl";
"- Match against directories: locale/**/errors.ftl",
"- Match against files: locale/*.ftl";
" - Match against directories: locale/**/errors.ftl", " - Match against files: locale/*.ftl";
" - Match against directories: locale/**/errors.ftl",
" - Match against files: locale/*.ftl";
NoMatchesInGlob,
NoMatchesInGlob { base_path: PathBuf, },
NoMatchesInGlob {
base_path: PathBuf,
},
return Err(Error::NoMatchesInGlob);
return Err(Error::NoMatchesInGlob { base_path: PathBuf::from(manifest_root), });
return Err(Error::NoMatchesInGlob {
base_path: PathBuf::from(manifest_root),
});