|  | 
| 2 | 2 | #![allow(rustdoc::broken_intra_doc_links)] | 
| 3 | 3 | #![allow(rustdoc::invalid_html_tags)] | 
| 4 | 4 | 
 | 
|  | 5 | +/// | 
|  | 6 | +pub fn empty() {} | 
|  | 7 | + | 
|  | 8 | +#[doc = ""] | 
|  | 9 | +pub fn empty2() {} | 
|  | 10 | + | 
| 5 | 11 | /// ` | 
| 6 | 12 | //~^ ERROR unescaped backtick | 
| 7 | 13 | pub fn single() {} | 
| @@ -307,3 +313,30 @@ pub mod rustc { | 
| 307 | 313 | //~^ ERROR unescaped backtick | 
| 308 | 314 | /// level changes. | 
| 309 | 315 | pub mod tracing {} | 
|  | 316 | + | 
|  | 317 | +macro_rules! id { | 
|  | 318 | +    ($($tt:tt)*) => { $($tt)* } | 
|  | 319 | +} | 
|  | 320 | + | 
|  | 321 | +id! { | 
|  | 322 | +    /// The Subscriber` may be accessed by calling [`WeakDispatch::upgrade`], | 
|  | 323 | +    //~^ ERROR unescaped backtick | 
|  | 324 | +    //~| ERROR unescaped backtick | 
|  | 325 | +    //~| ERROR unescaped backtick | 
|  | 326 | +    //~| ERROR unescaped backtick | 
|  | 327 | +    /// which returns an `Option<Dispatch>`. If all [`Dispatch`] clones that point | 
|  | 328 | +    /// at the `Subscriber` have been dropped, [`WeakDispatch::upgrade`] will return | 
|  | 329 | +    /// `None`. Otherwise, it will return `Some(Dispatch)`. | 
|  | 330 | +    /// | 
|  | 331 | +    /// Returns some reference to this `[`Subscriber`] value if it is of type `T`, | 
|  | 332 | +    /// or `None` if it isn't. | 
|  | 333 | +    /// | 
|  | 334 | +    /// Called before the filtered [`Layer]'s [`on_event`], to determine if | 
|  | 335 | +    /// `on_event` should be called. | 
|  | 336 | +    /// | 
|  | 337 | +    /// Therefore, if the `Filter will change the value returned by this | 
|  | 338 | +    /// method, it is responsible for ensuring that | 
|  | 339 | +    /// [`rebuild_interest_cache`][rebuild] is called after the value of the max | 
|  | 340 | +    /// level changes. | 
|  | 341 | +    pub mod tracing_macro {} | 
|  | 342 | +} | 
0 commit comments