Here's how to repro locally:
It's probably easier to just do some slow attempts using the bot though.
If there's some thing in the full_name that we can use to exclude them, that'd be fine, but we don't store the mangled name, so there might not be anything in the unmangled name to identify them.
If we are not in the habit of using precompiled rust files, then we could just exclude those from .rs sources:
symbols = (
symbols.WhereInSection('d').WhereNameMatches(r'\bk[A-Z]|\b[A-Z_]+$').
WhereFullNameMatches('abi:logically_const').Inverted()
WhereSourcePathMatches(r'\.rs$').Inverted())
)
Maybe let's start with that, and then if we still hit issues, we can remove the ALL_CAPS part?