File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -648,10 +648,12 @@ impl FromWithTcx<clean::Trait> for Trait {
648
648
fn from_tcx ( trait_ : clean:: Trait , tcx : TyCtxt < ' _ > ) -> Self {
649
649
let is_auto = trait_. is_auto ( tcx) ;
650
650
let is_unsafe = trait_. unsafety ( tcx) == rustc_hir:: Unsafety :: Unsafe ;
651
+ let is_object_safe = trait_. is_object_safe ( tcx) ;
651
652
let clean:: Trait { items, generics, bounds, .. } = trait_;
652
653
Trait {
653
654
is_auto,
654
655
is_unsafe,
656
+ is_object_safe,
655
657
items : ids ( items, tcx) ,
656
658
generics : generics. into_tcx ( tcx) ,
657
659
bounds : bounds. into_tcx ( tcx) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize};
8
8
use std:: path:: PathBuf ;
9
9
10
10
/// rustdoc format-version.
11
- pub const FORMAT_VERSION : u32 = 27 ;
11
+ pub const FORMAT_VERSION : u32 = 28 ;
12
12
13
13
/// A `Crate` is the root of the emitted JSON blob. It contains all type/documentation information
14
14
/// about the language items in the local crate, as well as info about external items to allow
@@ -634,6 +634,7 @@ pub struct FnDecl {
634
634
pub struct Trait {
635
635
pub is_auto : bool ,
636
636
pub is_unsafe : bool ,
637
+ pub is_object_safe : bool ,
637
638
pub items : Vec < Id > ,
638
639
pub generics : Generics ,
639
640
pub bounds : Vec < GenericBound > ,
You can’t perform that action at this time.
0 commit comments