.. SPDX-License-Identifier: MIT OR Apache-2.0 SPDX-FileCopyrightText: The Coding Guidelines Subcommittee Contributors .. default-domain:: coding-guidelines Shall not write code that expands macros ======================================== .. guideline:: Shall not write code that expands macros :id: gui_uuDOArzyO3Qw :category: mandatory :status: draft :release: todo :fls: fls_wjldgtio5o75 :decidability: decidable :scope: system :tags: reduce-human-error Description of the guideline goes here. .. rationale:: :id: rat_dNgSvC0SZ3JJ :status: draft Explanation of why this guideline is important. .. non_compliant_example:: :id: non_compl_ex_g9j8shyGM2Rh :status: draft Explanation of code example. .. rust-example:: #[allow(dead_code)] fn example_function() { // Non-compliant implementation } # # fn main() {} .. compliant_example:: :id: compl_ex_cFPg6y7upNdl :status: draft Explanation of code example. .. rust-example:: #[allow(dead_code)] fn example_function() { // Compliant implementation } # # fn main() {}