@@ -29,6 +29,7 @@ private class StartswithCall extends Path::SafeAccessCheck::Range, CfgNodes::Met
29
29
* [1]: https://doc.rust-lang.org/std/option/enum.Option.html
30
30
*/
31
31
class OptionEnum extends Enum {
32
+ pragma [ nomagic]
32
33
OptionEnum ( ) { this .getCanonicalPath ( ) = "core::option::Option" }
33
34
34
35
/** Gets the `Some` variant. */
@@ -41,6 +42,7 @@ class OptionEnum extends Enum {
41
42
* [1]: https://doc.rust-lang.org/stable/std/result/enum.Result.html
42
43
*/
43
44
class ResultEnum extends Enum {
45
+ pragma [ nomagic]
44
46
ResultEnum ( ) { this .getCanonicalPath ( ) = "core::result::Result" }
45
47
46
48
/** Gets the `Ok` variant. */
@@ -56,6 +58,7 @@ class ResultEnum extends Enum {
56
58
* [1]: https://doc.rust-lang.org/core/ops/struct.Range.html
57
59
*/
58
60
class RangeStruct extends Struct {
61
+ pragma [ nomagic]
59
62
RangeStruct ( ) { this .getCanonicalPath ( ) = "core::ops::range::Range" }
60
63
61
64
/** Gets the `start` field. */
@@ -71,6 +74,7 @@ class RangeStruct extends Struct {
71
74
* [1]: https://doc.rust-lang.org/core/ops/struct.RangeFrom.html
72
75
*/
73
76
class RangeFromStruct extends Struct {
77
+ pragma [ nomagic]
74
78
RangeFromStruct ( ) { this .getCanonicalPath ( ) = "core::ops::range::RangeFrom" }
75
79
76
80
/** Gets the `start` field. */
@@ -83,6 +87,7 @@ class RangeFromStruct extends Struct {
83
87
* [1]: https://doc.rust-lang.org/core/ops/struct.RangeTo.html
84
88
*/
85
89
class RangeToStruct extends Struct {
90
+ pragma [ nomagic]
86
91
RangeToStruct ( ) { this .getCanonicalPath ( ) = "core::ops::range::RangeTo" }
87
92
88
93
/** Gets the `end` field. */
@@ -95,6 +100,7 @@ class RangeToStruct extends Struct {
95
100
* [1]: https://doc.rust-lang.org/core/ops/struct.RangeInclusive.html
96
101
*/
97
102
class RangeInclusiveStruct extends Struct {
103
+ pragma [ nomagic]
98
104
RangeInclusiveStruct ( ) { this .getCanonicalPath ( ) = "core::ops::range::RangeInclusive" }
99
105
100
106
/** Gets the `start` field. */
@@ -110,6 +116,7 @@ class RangeInclusiveStruct extends Struct {
110
116
* [1]: https://doc.rust-lang.org/core/ops/struct.RangeToInclusive.html
111
117
*/
112
118
class RangeToInclusiveStruct extends Struct {
119
+ pragma [ nomagic]
113
120
RangeToInclusiveStruct ( ) { this .getCanonicalPath ( ) = "core::ops::range::RangeToInclusive" }
114
121
115
122
/** Gets the `end` field. */
@@ -122,6 +129,7 @@ class RangeToInclusiveStruct extends Struct {
122
129
* [1]: https://doc.rust-lang.org/std/future/trait.Future.html
123
130
*/
124
131
class FutureTrait extends Trait {
132
+ pragma [ nomagic]
125
133
FutureTrait ( ) { this .getCanonicalPath ( ) = "core::future::future::Future" }
126
134
127
135
/** Gets the `Output` associated type. */
@@ -138,6 +146,7 @@ class FutureTrait extends Trait {
138
146
* [1]: https://doc.rust-lang.org/std/iter/trait.Iterator.html
139
147
*/
140
148
class IteratorTrait extends Trait {
149
+ pragma [ nomagic]
141
150
IteratorTrait ( ) { this .getCanonicalPath ( ) = "core::iter::traits::iterator::Iterator" }
142
151
143
152
/** Gets the `Item` associated type. */
@@ -154,6 +163,7 @@ class IteratorTrait extends Trait {
154
163
* [1]: https://doc.rust-lang.org/std/iter/trait.IntoIterator.html
155
164
*/
156
165
class IntoIteratorTrait extends Trait {
166
+ pragma [ nomagic]
157
167
IntoIteratorTrait ( ) { this .getCanonicalPath ( ) = "core::iter::traits::collect::IntoIterator" }
158
168
159
169
/** Gets the `Item` associated type. */
@@ -170,5 +180,6 @@ class IntoIteratorTrait extends Trait {
170
180
* [1]: https://doc.rust-lang.org/std/string/struct.String.html
171
181
*/
172
182
class StringStruct extends Struct {
183
+ pragma [ nomagic]
173
184
StringStruct ( ) { this .getCanonicalPath ( ) = "alloc::string::String" }
174
185
}
0 commit comments