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

Module Generated

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

Import path

import codeql.rust.elements.internal.generated.ReturnExpr

Classes

ReturnExpr

A return expression. For example: rust fn some_value() -> i32 { return 42; } rust fn no_value() -> () { return; } INTERNAL: Do not reference the Generated::ReturnExpr class directly. Use the subclass ReturnExpr, where the following predicates are available.