We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90fdc1f commit a317db1Copy full SHA for a317db1
compiler/rustc_builtin_macros/src/deriving/debug.rs
@@ -33,7 +33,7 @@ pub fn expand_deriving_debug(
33
explicit_self: true,
34
nonself_args: vec![(fmtr, sym::f)],
35
ret_ty: Path(path_std!(fmt::Result)),
36
- attributes: ast::AttrVec::new(),
+ attributes: thin_vec![cx.attr_word(sym::inline, span)],
37
fieldless_variants_strategy:
38
FieldlessVariantsStrategy::SpecializeIfAllVariantsFieldless,
39
combine_substructure: combine_substructure(Box::new(|a, b, c| {
0 commit comments