Function build_suggestion_code

Source
pub(super) fn build_suggestion_code(
    code_field: &Ident,
    nested: ParseNestedMeta<'_>,
    fields: &impl HasFieldMap,
    allow_multiple: AllowMultipleAlternatives,
) -> TokenStream
Expand description

Constructs the format!() invocation(s) necessary for a #[suggestion*(code = "foo")] or #[suggestion*(code("foo", "bar"))] attribute field