Skip to content
Snippets Groups Projects
Commit 432120dc authored by Pierre-Emmanuel Patry's avatar Pierre-Emmanuel Patry Committed by Arthur Cohen
Browse files

gccrs: attributes: Add allow_internal_unstable attribute

Add allow_internal_unstable to the attribute table in order for it to be
flagged as builtin.

gcc/rust/ChangeLog:

	* util/rust-attributes.cc: Add attribute to the table.
parent 0af8582f
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,7 @@ static const BuiltinAttrDefinition __definitions[] ...@@ -33,6 +33,7 @@ static const BuiltinAttrDefinition __definitions[]
{"cfg_attr", EXPANSION}, {"cfg_attr", EXPANSION},
{"deprecated", STATIC_ANALYSIS}, {"deprecated", STATIC_ANALYSIS},
{"allow", STATIC_ANALYSIS}, {"allow", STATIC_ANALYSIS},
{"allow_internal_unstable", STATIC_ANALYSIS},
{"doc", HIR_LOWERING}, {"doc", HIR_LOWERING},
{"must_use", STATIC_ANALYSIS}, {"must_use", STATIC_ANALYSIS},
{"lang", HIR_LOWERING}, {"lang", HIR_LOWERING},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment