Re-exportsยง
use rustc_ast as ast;๐use rustc_ast::ItemKind;๐use rustc_ast::VariantData;๐use rustc_errors::MultiSpan;๐use rustc_expand::base::DummyResult;๐use rustc_expand::base::ExtCtxt;๐use rustc_span::Ident;๐use rustc_span::Span;๐use rustc_span::kw;๐use rustc_span::sym;๐use thin_vec::thin_vec;๐use crate::deriving::pathvec;๐use crate::diagnostics;๐use crate::deriving::generic::*;๐
Functionsยง
- expand_
deriving_ ๐from - Generate an implementation of the
Fromtrait, provided thatitemis a struct or a tuple struct with exactly one field.