CodeQL library for Rust
codeql/rust-all 0.2.5-dev (changelog, source)
Search

Module Generated

INTERNAL: This module contains the fully generated definition of ConstBlockPat and should not be referenced directly.

Import path

import codeql.rust.elements.internal.generated.ConstBlockPat

Classes

ConstBlockPat

A const block pattern. For example: rust match x { const { 1 + 2 + 3 } => "ok", _ => "fail", }; INTERNAL: Do not reference the Generated::ConstBlockPat class directly. Use the subclass ConstBlockPat, where the following predicates are available.