We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa8d4b1 commit a1810a3Copy full SHA for a1810a3
gcc/rust/util/rust-lang-item.h
@@ -75,6 +75,7 @@ class RustLangItem
75
76
// functions
77
FN_ONCE,
78
+ FN_ONCE_OUTPUT,
79
80
UNKNOWN,
81
};
@@ -225,6 +226,10 @@ class RustLangItem
225
226
{
227
return ItemType::FN_ONCE;
228
}
229
+ else if (item.compare ("fn_once_output") == 0)
230
+ {
231
+ return ItemType::FN_ONCE_OUTPUT;
232
+ }
233
234
return ItemType::UNKNOWN;
235
@@ -305,6 +310,8 @@ class RustLangItem
305
310
return "const_slice_ptr";
306
311
case FN_ONCE:
307
312
return "fn_once";
313
+ case FN_ONCE_OUTPUT:
314
+ return "fn_once_output";
308
315
309
316
case UNKNOWN:
317
return "<UNKNOWN>";
0 commit comments