Fix doctest errors related to rustc_middle

This commit is contained in:
reez12g 2022-11-20 11:10:45 +09:00
parent c5d82ed7a4
commit e1f0d6af15
3 changed files with 5 additions and 3 deletions

View file

@ -1648,6 +1648,8 @@ rustc_queries! {
/// a generic type parameter will panic if you call this method on it:
///
/// ```
/// use std::fmt::Debug;
///
/// pub trait Foo<T: Debug> {}
/// ```
///