Lines Matching defs:cfg
2 use crate::syntax::cfg::CfgExpr;
59 let mut cfg = CfgExpr::Unconditional;
69 cfg: Some(&mut cfg),
130 let mut cfg = CfgExpr::Unconditional;
138 cfg: Some(&mut cfg),
156 cfg,
177 cfg,
191 let mut cfg = CfgExpr::Unconditional;
203 cfg: Some(&mut cfg),
266 cfg,
288 let mut cfg = CfgExpr::Unconditional;
296 cfg: Some(&mut cfg),
326 cfg,
361 let mut cfg = CfgExpr::Unconditional;
367 cfg: Some(&mut cfg),
377 let ety = parse_extern_type(cx, foreign, lang, trusted, &cfg, &namespace, &attrs);
381 match parse_extern_fn(cx, foreign, lang, trusted, &cfg, &namespace, &attrs) {
389 include.cfg = cfg.clone();
396 match parse_extern_verbatim(cx, tokens, lang, trusted, &cfg, &namespace, &attrs) {
468 let mut cfg = extern_block_cfg.clone();
479 cfg: Some(&mut cfg),
501 cfg,
526 let mut cfg = extern_block_cfg.clone();
536 cfg: Some(&mut cfg),
565 if foreign_fn.sig.asyncness.is_some() && !cfg!(feature = "experimental-async-fn") {
641 let cfg = CfgExpr::Unconditional;
648 cfg,
680 cfg,
855 let mut cfg = extern_block_cfg.clone();
866 cfg: Some(&mut cfg),
886 cfg,
945 let mut cfg = extern_block_cfg.clone();
956 cfg: Some(&mut cfg),
973 cfg,
992 let mut cfg = CfgExpr::Unconditional;
997 cfg: Some(&mut cfg),
1087 cfg,
1103 cfg: CfgExpr::Unconditional,
1133 cfg: CfgExpr::Unconditional,
1394 let cfg = CfgExpr::Unconditional;
1400 cfg,