• Home
  • Raw
  • Download

Lines Matching refs:help

200     ($var:ident $help:ident =? $msg:expr) => {
202 $var.suggestion(stringify!($help), msg.to_string())
207 ($var:ident $help:ident =? $span:expr => $msg:expr) => {
209 $var.span_suggestion($span.into(), stringify!($help), msg.to_string())
215 ($var:ident $help:ident =? $msg:expr ; $($rest:tt)*) => {
216 $crate::__pme__suggestions!($var $help =? $msg);
219 ($var:ident $help:ident =? $span:expr => $msg:expr ; $($rest:tt)*) => {
220 $crate::__pme__suggestions!($var $help =? $span => $msg);
225 ($var:ident $help:ident = $msg:expr) => {
226 let $var = $var.suggestion(stringify!($help), $msg.to_string());
228 ($var:ident $help:ident = $fmt:expr, $($args:expr),+) => {
230 stringify!($help),
234 ($var:ident $help:ident = $span:expr => $msg:expr) => {
235 let $var = $var.span_suggestion($span.into(), stringify!($help), $msg.to_string());
237 ($var:ident $help:ident = $span:expr => $fmt:expr, $($args:expr),+) => {
240 stringify!($help),
245 ($var:ident $help:ident = $msg:expr ; $($rest:tt)*) => {
246 $crate::__pme__suggestions!($var $help = $msg);
249 ($var:ident $help:ident = $fmt:expr, $($args:expr),+ ; $($rest:tt)*) => {
250 $crate::__pme__suggestions!($var $help = $fmt, $($args),*);
253 ($var:ident $help:ident = $span:expr => $msg:expr ; $($rest:tt)*) => {
254 $crate::__pme__suggestions!($var $help = $span => $msg);
257 ($var:ident $help:ident = $span:expr => $fmt:expr, $($args:expr),+ ; $($rest:tt)*) => {
258 $crate::__pme__suggestions!($var $help = $span => $fmt, $($args),*);
264 ($var:ident $help:ident = $msg:expr,) => {
265 $crate::__pme__suggestions!($var $help = $msg)
267 ($var:ident $help:ident = $fmt:expr, $($args:expr),+,) => {
268 $crate::__pme__suggestions!($var $help = $fmt, $($args)*)
270 ($var:ident $help:ident = $span:expr => $msg:expr,) => {
271 $crate::__pme__suggestions!($var $help = $span => $msg)
273 ($var:ident $help:ident = $span:expr => $fmt:expr, $($args:expr),*,) => {
274 $crate::__pme__suggestions!($var $help = $span => $fmt, $($args)*)
276 ($var:ident $help:ident = $msg:expr, ; $($rest:tt)*) => {
277 $crate::__pme__suggestions!($var $help = $msg; $($rest)*)
279 ($var:ident $help:ident = $fmt:expr, $($args:expr),+, ; $($rest:tt)*) => {
280 $crate::__pme__suggestions!($var $help = $fmt, $($args),*; $($rest)*)
282 ($var:ident $help:ident = $span:expr => $msg:expr, ; $($rest:tt)*) => {
283 $crate::__pme__suggestions!($var $help = $span => $msg; $($rest)*)
285 ($var:ident $help:ident = $span:expr => $fmt:expr, $($args:expr),+, ; $($rest:tt)*) => {
286 $crate::__pme__suggestions!($var $help = $span => $fmt, $($args),*; $($rest)*)