Skip to content

Commit c8d25af

Browse files
committed
Fixup
1 parent c877ff3 commit c8d25af

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

compiler/rustc_mir/src/borrow_check/region_infer/mod.rs

+1-1
Original file line numberDiff line numberDiff 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
///

compiler/rustc_trait_selection/src/opaque_types.rs

+1-4
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)