Module rustc

Source

Modulesยง

print ๐Ÿ”’
Pattern analysis sometimes wants to print patterns as part of a user-visible diagnostic.

Structsยง

RecursiveOpaque ๐Ÿ”’
RevealedTy
A type which has gone through cx.reveal_opaque_ty, i.e. if it was opaque it was replaced by the hidden type if allowed in the current body. This ensures we consistently inspect the hidden types when we should.
RustcPatCtxt

Functionsยง

analyze_match
The entrypoint for this crate. Computes whether a match is exhaustive and which of its arms are useful, and runs some lints.
expand_or_pat ๐Ÿ”’
Recursively expand this pattern into its subpatterns. Only useful for or-patterns.
would_print_as_wildcard ๐Ÿ”’
Returns true if the given pattern would be printed as a wildcard (_).

Type Aliasesยง

Constructor
ConstructorSet
DeconstructedPat
MatchArm
RedundancyExplanation
Usefulness
UsefulnessReport
WitnessPat