diff --git a/crates/oxc_ast/src/ast_builder.rs b/crates/oxc_ast/src/ast_builder.rs index 10c01a5a68053..90b3dc7817d70 100644 --- a/crates/oxc_ast/src/ast_builder.rs +++ b/crates/oxc_ast/src/ast_builder.rs @@ -71,6 +71,7 @@ impl<'a> AstBuilder<'a> { /// # SAFETY /// This method is completely unsound and should not be used. /// We need to remove all uses of it. Please don't add any more! + /// Use `move_expression`, `move_statement`, or one of the other `move_*` methods below instead. /// #[inline] pub fn copy(self, src: &T) -> T {