File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,48 @@ Macros
90
90
91
91
// TODO
92
92
93
+ .. guideline :: Shall not use Function-like Macros
94
+ :id: gui_WJlWqgIxmE8P
95
+ :category: mandatory
96
+ :status: draft
97
+ :release: todo
98
+ :fls: fls_utd3zqczix
99
+ :decidability: decidable
100
+ :scope: system
101
+ :tags: reduce-human-error
102
+
103
+ Description of the guideline goes here.
104
+
105
+ .. rationale ::
106
+ :id: rat_C8RRidiVzhRj
107
+ :status: draft
108
+
109
+ Explanation of why this guideline is important.
110
+
111
+ .. non_compliant_example ::
112
+ :id: non_compl_ex_TjRiRkmBY6wG
113
+ :status: draft
114
+
115
+ Explanation of code example.
116
+
117
+ .. code-block :: rust
118
+
119
+ fn example_function() {
120
+ // Non-compliant implementation
121
+ }
122
+
123
+ .. compliant_example ::
124
+ :id: compl_ex_AEKEOYhBWPMl
125
+ :status: draft
126
+
127
+ Explanation of code example.
128
+
129
+ .. code-block :: rust
130
+
131
+ fn example_function() {
132
+ // Compliant implementation
133
+ }
134
+
93
135
.. guideline :: Shall not invoke macros
94
136
:id: gui_a1mHfjgKk4Xr
95
137
:category: mandatory
You can’t perform that action at this time.
0 commit comments