pub struct DocContext<'tcx> {
- pub tcx: TyCtxt<'tcx, 'tcx, 'tcx>,
+ pub tcx: TyCtxt<'tcx>,
pub resolver: Rc<Option<RefCell<interface::BoxedResolver>>>,
/// The stack of module NodeIds up till this point
pub crate_name: Option<String>,
// Ensure that rustdoc works even if rustc is feature-staged
unstable_features: UnstableFeatures::Allow,
actually_rustdoc: true,
- debugging_opts: debugging_options.clone(),
+ debugging_opts: debugging_options,
error_format,
edition,
describe_lints,