///
/// **Example:**
/// ```rust
- /// fn main() {
- /// let x = Box::new(1);
- /// foo(*x);
- /// println!("{}", *x);
- /// }
+ /// # fn foo(bar: usize) {}
+ /// let x = Box::new(1);
+ /// foo(*x);
+ /// println!("{}", *x);
/// ```
pub BOXED_LOCAL,
perf,
}
match map.find(map.get_parent_node(id)) {
- Some(Node::Arg(_)) => true,
+ Some(Node::Param(_)) => true,
_ => false,
}
}