Re-exportsยง
use arrayvec::ArrayVec;๐use core::str::FromStr as _;๐use itertools::Itertools as _;๐use rustc_attr_ir::RustcVersion;๐use rustc_attr_parsing::parse_version;๐use rustc_errors::DiagCtxtHandle;๐use rustc_errors::DiagMessage;๐use rustc_session::Session;๐use rustc_session::config::ErrorOutputType;๐use rustc_span::edit_distance::edit_distance;๐use rustc_span::BytePos;๐use rustc_span::Pos as _;๐use rustc_span::Span;๐use rustc_span::Spanned;๐use rustc_span::Symbol;๐use std::collections::HashMap;๐use std::collections::HashSet;๐use std::fmt;๐use std::fmt::Display;๐use std::fmt::Write as _;๐use std::hash::BuildHasher;๐use std::hash::Hash;๐use std::hash::Hash;๐use std::marker::PhantomData;๐use std::ops::ControlFlow;๐use std::ops::Range;๐use toml::de::DeValue;๐
Macrosยง
- deserialize_
table ๐ - impl_
deserialize_ ๐float - impl_
deserialize_ ๐int - impl_
from_ ๐default_ passthrough
Structsยง
- Diag
Ctxt - Display
Slice ๐ - Display
Str ๐
Traitsยง
- Deserialize
- A type which can be deserialized from a toml value.
- Deserialize
OrDefault - A type which can be deserialized from a toml value with a fallback to a default value.
- From
Default - A type which can be constructed from a default value.
Functionsยง
- create_
value_ list_ msg - Creates a message listing all possible values suitable for use in
Diag::note. - deserialize_
array - find_
closest_ match - Attempts to find the closest matching string from the list. Returns
Noneif the edit distance is too large.