Closed
Description
This generates documentation with a stable rustdoc today without any warnings.
#![feature(raw)]
use std::raw::TraitObject;
pub fn bar() {}
Interestingly, rustdoc does seem to check that the feature gate is in the crate (i.e., #![feature(raw)]
must exist), and will error if a feature gate has been removed (e.g., custom_attribute on nightly).