File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
rustc_mir/src/borrow_check/region_infer
rustc_trait_selection/src Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1225,7 +1225,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
12251225 /// it. However, it works pretty well in practice. In particular,
12261226 /// this is needed to deal with projection outlives bounds like
12271227 ///
1228- /// ```ignore (MIR syntax)
1228+ /// ```ignore (internal compiler representation so lifetime syntax is invalid )
12291229 /// <T as Foo<'0>>::Item: '1
12301230 /// ```
12311231 ///
Original file line number Diff line number Diff line change @@ -41,13 +41,10 @@ pub struct OpaqueTypeDecl<'tcx> {
4141 /// The span of this particular definition of the opaque type. So
4242 /// for example:
4343 ///
44- /// ```
44+ /// ```ignore (incomplete snippet)
4545 /// type Foo = impl Baz;
4646 /// fn bar() -> Foo {
4747 /// // ^^^ This is the span we are looking for!
48- /// // ...
49- /// # unimplemented!()
50- /// }
5148 /// ```
5249 ///
5350 /// In cases where the fn returns `(impl Trait, impl Trait)` or
You can’t perform that action at this time.
0 commit comments