File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ version = "0.0.0"
44edition = " 2021"
55
66[lib ]
7- doctest = false
87
98[dependencies ]
109bitflags = " 1.2.1"
Original file line number Diff line number Diff line change @@ -1648,6 +1648,8 @@ rustc_queries! {
16481648 /// a generic type parameter will panic if you call this method on it:
16491649 ///
16501650 /// ```
1651+ /// use std::fmt::Debug;
1652+ ///
16511653 /// pub trait Foo<T: Debug> {}
16521654 /// ```
16531655 ///
Original file line number Diff line number Diff line change 55//!
66//! # Example
77//! ```rust
8- //! enum Void {}
8+ //! #![feature(never_type)]
99//! mod a {
1010//! pub mod b {
1111//! pub struct SecretlyUninhabited {
1515//! }
1616//!
1717//! mod c {
18+ //! enum Void {}
1819//! pub struct AlsoSecretlyUninhabited {
1920//! _priv: Void,
2021//! }
3536//! `Foo`.
3637//!
3738//! # Example
38- //! ```rust
39+ //! ```ignore(illustrative)
3940//! let foo_result: Result<T, Foo> = ... ;
4041//! let Ok(t) = foo_result;
4142//! ```
You can’t perform that action at this time.
0 commit comments