diff --git a/.github/generated/ast_changes_watch_list.yml b/.github/generated/ast_changes_watch_list.yml index 01069b37f1896..6cbfc24cb52d7 100644 --- a/.github/generated/ast_changes_watch_list.yml +++ b/.github/generated/ast_changes_watch_list.yml @@ -1,5 +1,5 @@ # Auto-generated code, DO NOT EDIT DIRECTLY! -# To edit this generated file you have to edit `tasks/ast_tools/src/main.rs` +# To edit this generated file you have to edit `tasks/ast_tools/src/main.rs`. src: - '.github/generated/ast_changes_watch_list.yml' diff --git a/crates/oxc_ast/src/generated/assert_layouts.rs b/crates/oxc_ast/src/generated/assert_layouts.rs index be45f33776c56..e667fc5445363 100644 --- a/crates/oxc_ast/src/generated/assert_layouts.rs +++ b/crates/oxc_ast/src/generated/assert_layouts.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`. #![allow(unused_imports)] diff --git a/crates/oxc_ast/src/generated/ast_builder.rs b/crates/oxc_ast/src/generated/ast_builder.rs index 0c485b49d018e..9418f2491e914 100644 --- a/crates/oxc_ast/src/generated/ast_builder.rs +++ b/crates/oxc_ast/src/generated/ast_builder.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/ast_builder.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/ast_builder.rs`. //! AST node factories diff --git a/crates/oxc_ast/src/generated/ast_kind.rs b/crates/oxc_ast/src/generated/ast_kind.rs index 9f8901f7a139c..325be13129d73 100644 --- a/crates/oxc_ast/src/generated/ast_kind.rs +++ b/crates/oxc_ast/src/generated/ast_kind.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/ast_kind.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/ast_kind.rs`. #![expect(missing_docs)] // FIXME (in ast_tools/src/generators/ast_kind.rs) diff --git a/crates/oxc_ast/src/generated/derive_clone_in.rs b/crates/oxc_ast/src/generated/derive_clone_in.rs index b49936629dccc..143c6972aed26 100644 --- a/crates/oxc_ast/src/generated/derive_clone_in.rs +++ b/crates/oxc_ast/src/generated/derive_clone_in.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs`. #![allow(unused_variables, clippy::default_trait_access, clippy::inline_always)] diff --git a/crates/oxc_ast/src/generated/derive_content_eq.rs b/crates/oxc_ast/src/generated/derive_content_eq.rs index be8cccc070dc6..8e89219f77e27 100644 --- a/crates/oxc_ast/src/generated/derive_content_eq.rs +++ b/crates/oxc_ast/src/generated/derive_content_eq.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs`. #![allow(clippy::match_same_arms)] diff --git a/crates/oxc_ast/src/generated/derive_dummy.rs b/crates/oxc_ast/src/generated/derive_dummy.rs index a66f830f825d7..00d3b9ec7d4b4 100644 --- a/crates/oxc_ast/src/generated/derive_dummy.rs +++ b/crates/oxc_ast/src/generated/derive_dummy.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs`. #![allow(unused_variables, clippy::inline_always)] diff --git a/crates/oxc_ast/src/generated/derive_estree.rs b/crates/oxc_ast/src/generated/derive_estree.rs index 512c240e0e7f1..94c50f285dad3 100644 --- a/crates/oxc_ast/src/generated/derive_estree.rs +++ b/crates/oxc_ast/src/generated/derive_estree.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`. #![allow(unused_imports, clippy::match_same_arms, clippy::semicolon_if_nothing_returned)] diff --git a/crates/oxc_ast/src/generated/derive_get_address.rs b/crates/oxc_ast/src/generated/derive_get_address.rs index e5532103039db..4a9dcdd8ffa0f 100644 --- a/crates/oxc_ast/src/generated/derive_get_address.rs +++ b/crates/oxc_ast/src/generated/derive_get_address.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_address.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_address.rs`. #![expect(clippy::match_same_arms)] diff --git a/crates/oxc_ast/src/generated/derive_get_span.rs b/crates/oxc_ast/src/generated/derive_get_span.rs index b2ba933ed1a5d..d89586af5d01b 100644 --- a/crates/oxc_ast/src/generated/derive_get_span.rs +++ b/crates/oxc_ast/src/generated/derive_get_span.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_span.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_span.rs`. #![expect(clippy::match_same_arms)] diff --git a/crates/oxc_ast/src/generated/derive_get_span_mut.rs b/crates/oxc_ast/src/generated/derive_get_span_mut.rs index 1b1d174c1ba1b..6930361f6b65d 100644 --- a/crates/oxc_ast/src/generated/derive_get_span_mut.rs +++ b/crates/oxc_ast/src/generated/derive_get_span_mut.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_span.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_span.rs`. #![expect(clippy::match_same_arms)] diff --git a/crates/oxc_ast/src/generated/derive_take_in.rs b/crates/oxc_ast/src/generated/derive_take_in.rs index 48a458c9130c2..b08a1e5d83ec6 100644 --- a/crates/oxc_ast/src/generated/derive_take_in.rs +++ b/crates/oxc_ast/src/generated/derive_take_in.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/take_in.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/take_in.rs`. #![allow(clippy::needless_lifetimes)] diff --git a/crates/oxc_ast/src/generated/get_id.rs b/crates/oxc_ast/src/generated/get_id.rs index 688e44b335775..461d54c71a992 100644 --- a/crates/oxc_ast/src/generated/get_id.rs +++ b/crates/oxc_ast/src/generated/get_id.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/get_id.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/get_id.rs`. use oxc_syntax::{reference::ReferenceId, scope::ScopeId, symbol::SymbolId}; diff --git a/crates/oxc_ast_macros/src/generated/mod.rs b/crates/oxc_ast_macros/src/generated/mod.rs index 4397c56c9b70d..9e62ea8785a5e 100644 --- a/crates/oxc_ast_macros/src/generated/mod.rs +++ b/crates/oxc_ast_macros/src/generated/mod.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/main.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/main.rs`. use proc_macro2::TokenStream; use quote::quote; diff --git a/crates/oxc_ast_visit/src/generated/utf8_to_utf16_converter.rs b/crates/oxc_ast_visit/src/generated/utf8_to_utf16_converter.rs index 5b5cf6ea8d578..1e47798b79702 100644 --- a/crates/oxc_ast_visit/src/generated/utf8_to_utf16_converter.rs +++ b/crates/oxc_ast_visit/src/generated/utf8_to_utf16_converter.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/utf8_to_utf16.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/utf8_to_utf16.rs`. use oxc_ast::ast::*; use oxc_span::GetSpan; diff --git a/crates/oxc_ast_visit/src/generated/visit.rs b/crates/oxc_ast_visit/src/generated/visit.rs index b6d2ae05a65ba..553dd3499cdd7 100644 --- a/crates/oxc_ast_visit/src/generated/visit.rs +++ b/crates/oxc_ast_visit/src/generated/visit.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/visit.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/visit.rs`. //! Visitor Pattern //! diff --git a/crates/oxc_ast_visit/src/generated/visit_mut.rs b/crates/oxc_ast_visit/src/generated/visit_mut.rs index 4fb79c90a5335..d5a390da8e188 100644 --- a/crates/oxc_ast_visit/src/generated/visit_mut.rs +++ b/crates/oxc_ast_visit/src/generated/visit_mut.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/visit.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/visit.rs`. //! Visitor Pattern //! diff --git a/crates/oxc_formatter/src/generated/format.rs b/crates/oxc_formatter/src/generated/format.rs index 14d5495d3e4fe..425bb829fdd86 100644 --- a/crates/oxc_formatter/src/generated/format.rs +++ b/crates/oxc_formatter/src/generated/format.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/formatter.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/formatter.rs`. #![allow(clippy::undocumented_unsafe_blocks)] use oxc_ast::{AstKind, ast::*}; diff --git a/crates/oxc_regular_expression/src/generated/assert_layouts.rs b/crates/oxc_regular_expression/src/generated/assert_layouts.rs index 98222e9cda5d6..59a7d7fc33a49 100644 --- a/crates/oxc_regular_expression/src/generated/assert_layouts.rs +++ b/crates/oxc_regular_expression/src/generated/assert_layouts.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`. #![allow(unused_imports)] diff --git a/crates/oxc_regular_expression/src/generated/derive_clone_in.rs b/crates/oxc_regular_expression/src/generated/derive_clone_in.rs index 1ccf9bfc597be..54b00dc744ddf 100644 --- a/crates/oxc_regular_expression/src/generated/derive_clone_in.rs +++ b/crates/oxc_regular_expression/src/generated/derive_clone_in.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs`. #![allow(unused_variables, clippy::default_trait_access, clippy::inline_always)] diff --git a/crates/oxc_regular_expression/src/generated/derive_content_eq.rs b/crates/oxc_regular_expression/src/generated/derive_content_eq.rs index d4675f9ac6e44..9f4b5bc340065 100644 --- a/crates/oxc_regular_expression/src/generated/derive_content_eq.rs +++ b/crates/oxc_regular_expression/src/generated/derive_content_eq.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs`. #![allow(clippy::match_same_arms)] diff --git a/crates/oxc_regular_expression/src/generated/derive_estree.rs b/crates/oxc_regular_expression/src/generated/derive_estree.rs index c83330f4a9d4b..b94e13dd268b6 100644 --- a/crates/oxc_regular_expression/src/generated/derive_estree.rs +++ b/crates/oxc_regular_expression/src/generated/derive_estree.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`. #![allow(unused_imports, clippy::match_same_arms, clippy::semicolon_if_nothing_returned)] diff --git a/crates/oxc_regular_expression/src/generated/derive_get_address.rs b/crates/oxc_regular_expression/src/generated/derive_get_address.rs index d0dfe41f7f8fd..a36f5a59fc7c1 100644 --- a/crates/oxc_regular_expression/src/generated/derive_get_address.rs +++ b/crates/oxc_regular_expression/src/generated/derive_get_address.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_address.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/get_address.rs`. #![expect(clippy::match_same_arms)] diff --git a/crates/oxc_span/src/generated/assert_layouts.rs b/crates/oxc_span/src/generated/assert_layouts.rs index f0a278de5c6db..d8e5531602b1b 100644 --- a/crates/oxc_span/src/generated/assert_layouts.rs +++ b/crates/oxc_span/src/generated/assert_layouts.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`. #![allow(unused_imports)] diff --git a/crates/oxc_span/src/generated/derive_dummy.rs b/crates/oxc_span/src/generated/derive_dummy.rs index 0dfd3bd2e9c5f..52fe272b1f792 100644 --- a/crates/oxc_span/src/generated/derive_dummy.rs +++ b/crates/oxc_span/src/generated/derive_dummy.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs`. #![allow(unused_variables, clippy::inline_always)] diff --git a/crates/oxc_span/src/generated/derive_estree.rs b/crates/oxc_span/src/generated/derive_estree.rs index da8ce81793474..292ecc3e09eab 100644 --- a/crates/oxc_span/src/generated/derive_estree.rs +++ b/crates/oxc_span/src/generated/derive_estree.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`. #![allow(unused_imports, clippy::match_same_arms, clippy::semicolon_if_nothing_returned)] diff --git a/crates/oxc_syntax/src/generated/assert_layouts.rs b/crates/oxc_syntax/src/generated/assert_layouts.rs index ce49aff1f841a..3fb1b5eb84cfc 100644 --- a/crates/oxc_syntax/src/generated/assert_layouts.rs +++ b/crates/oxc_syntax/src/generated/assert_layouts.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`. #![allow(unused_imports)] diff --git a/crates/oxc_syntax/src/generated/derive_clone_in.rs b/crates/oxc_syntax/src/generated/derive_clone_in.rs index f3c122e37dcce..ccdca60d85533 100644 --- a/crates/oxc_syntax/src/generated/derive_clone_in.rs +++ b/crates/oxc_syntax/src/generated/derive_clone_in.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/clone_in.rs`. #![allow(unused_variables, clippy::default_trait_access, clippy::inline_always)] diff --git a/crates/oxc_syntax/src/generated/derive_content_eq.rs b/crates/oxc_syntax/src/generated/derive_content_eq.rs index 03dfcf79922f8..ab1f16f996b1c 100644 --- a/crates/oxc_syntax/src/generated/derive_content_eq.rs +++ b/crates/oxc_syntax/src/generated/derive_content_eq.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/content_eq.rs`. #![allow(clippy::match_same_arms)] diff --git a/crates/oxc_syntax/src/generated/derive_dummy.rs b/crates/oxc_syntax/src/generated/derive_dummy.rs index 029098bcf530b..dd4f065c53373 100644 --- a/crates/oxc_syntax/src/generated/derive_dummy.rs +++ b/crates/oxc_syntax/src/generated/derive_dummy.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/dummy.rs`. #![allow(unused_variables, clippy::inline_always)] diff --git a/crates/oxc_syntax/src/generated/derive_estree.rs b/crates/oxc_syntax/src/generated/derive_estree.rs index 487654e3b8059..7a6c3ccd494c2 100644 --- a/crates/oxc_syntax/src/generated/derive_estree.rs +++ b/crates/oxc_syntax/src/generated/derive_estree.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`. #![allow(unused_imports, clippy::match_same_arms, clippy::semicolon_if_nothing_returned)] diff --git a/crates/oxc_traverse/src/generated/scopes_collector.rs b/crates/oxc_traverse/src/generated/scopes_collector.rs index c2ae0e98fe867..7faf8c2fb7528 100644 --- a/crates/oxc_traverse/src/generated/scopes_collector.rs +++ b/crates/oxc_traverse/src/generated/scopes_collector.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/scopes_collector.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/scopes_collector.rs`. #![expect( unused_variables, diff --git a/napi/parser/generated/deserialize/js.js b/napi/parser/generated/deserialize/js.js index e57afd9a1dd90..953764279cf6e 100644 --- a/napi/parser/generated/deserialize/js.js +++ b/napi/parser/generated/deserialize/js.js @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs`. 'use strict'; diff --git a/napi/parser/generated/deserialize/ts.js b/napi/parser/generated/deserialize/ts.js index 3b4b12886b947..e022743ed6ea3 100644 --- a/napi/parser/generated/deserialize/ts.js +++ b/napi/parser/generated/deserialize/ts.js @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/raw_transfer.rs`. 'use strict'; diff --git a/napi/parser/src/generated/assert_layouts.rs b/napi/parser/src/generated/assert_layouts.rs index 635b89ed7b907..3de3247f014eb 100644 --- a/napi/parser/src/generated/assert_layouts.rs +++ b/napi/parser/src/generated/assert_layouts.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/assert_layouts.rs`. #![allow(unused_imports)] diff --git a/napi/parser/src/generated/derive_estree.rs b/napi/parser/src/generated/derive_estree.rs index d3b1e75c15a7f..102299c097183 100644 --- a/napi/parser/src/generated/derive_estree.rs +++ b/napi/parser/src/generated/derive_estree.rs @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/derives/estree.rs`. #![allow(unused_imports, clippy::match_same_arms, clippy::semicolon_if_nothing_returned)] diff --git a/npm/oxc-types/types.d.ts b/npm/oxc-types/types.d.ts index 4ebf18e95071a..dbd6985ae9001 100644 --- a/npm/oxc-types/types.d.ts +++ b/npm/oxc-types/types.d.ts @@ -1,5 +1,5 @@ // Auto-generated code, DO NOT EDIT DIRECTLY! -// To edit this generated file you have to edit `tasks/ast_tools/src/generators/typescript.rs` +// To edit this generated file you have to edit `tasks/ast_tools/src/generators/typescript.rs`. export interface Program extends Span { type: 'Program'; diff --git a/tasks/ast_tools/src/output/mod.rs b/tasks/ast_tools/src/output/mod.rs index e230665f2fc7c..82a235a402341 100644 --- a/tasks/ast_tools/src/output/mod.rs +++ b/tasks/ast_tools/src/output/mod.rs @@ -21,7 +21,7 @@ pub fn output_path(krate: &str, path: &str) -> String { fn add_header(code: &str, generator_path: &str, comment_start: &str) -> String { format!( "{comment_start} Auto-generated code, DO NOT EDIT DIRECTLY!\n\ - {comment_start} To edit this generated file you have to edit `{generator_path}`\n\n\ + {comment_start} To edit this generated file you have to edit `{generator_path}`.\n\n\ {code}" ) }