about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-10-05 15:07:27 -0700
committerCamelid <camelidcamel@gmail.com>2020-10-05 15:07:27 -0700
commitc8d25af6985c2c6be388fc198c2c7d50eb553fc4 (patch)
treee4523115a09ce0aefd8018fa9e33efebc77c48d4 /compiler/rustc_trait_selection/src
parentc877ff3664abea60d69b8acf8e7dce85c2ffd859 (diff)
Fixup
Diffstat (limited to 'compiler/rustc_trait_selection/src')
-rw-r--r--compiler/rustc_trait_selection/src/opaque_types.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_trait_selection/src/opaque_types.rs b/compiler/rustc_trait_selection/src/opaque_types.rs
index 4f351ab176d..618f3e045e7 100644
--- a/compiler/rustc_trait_selection/src/opaque_types.rs
+++ b/compiler/rustc_trait_selection/src/opaque_types.rs
@@ -41,13 +41,10 @@ pub struct OpaqueTypeDecl<'tcx> {
     /// The span of this particular definition of the opaque type. So
     /// for example:
     ///
-    /// ```
+    /// ```ignore (incomplete snippet)
     /// type Foo = impl Baz;
     /// fn bar() -> Foo {
     /// //          ^^^ This is the span we are looking for!
-    /// // ...
-    /// # unimplemented!()
-    /// }
     /// ```
     ///
     /// In cases where the fn returns `(impl Trait, impl Trait)` or