Commit c8d25af 1 parent c877ff3 commit c8d25af Copy full SHA for c8d25af
File tree 2 files changed +2
-5
lines changed
rustc_mir/src/borrow_check/region_infer
rustc_trait_selection/src
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> {
1225
1225
/// it. However, it works pretty well in practice. In particular,
1226
1226
/// this is needed to deal with projection outlives bounds like
1227
1227
///
1228
- /// ```ignore (MIR syntax)
1228
+ /// ```ignore (internal compiler representation so lifetime syntax is invalid )
1229
1229
/// <T as Foo<'0>>::Item: '1
1230
1230
/// ```
1231
1231
///
Original file line number Diff line number Diff line change @@ -41,13 +41,10 @@ pub struct OpaqueTypeDecl<'tcx> {
41
41
/// The span of this particular definition of the opaque type. So
42
42
/// for example:
43
43
///
44
- /// ```
44
+ /// ```ignore (incomplete snippet)
45
45
/// type Foo = impl Baz;
46
46
/// fn bar() -> Foo {
47
47
/// // ^^^ This is the span we are looking for!
48
- /// // ...
49
- /// # unimplemented!()
50
- /// }
51
48
/// ```
52
49
///
53
50
/// In cases where the fn returns `(impl Trait, impl Trait)` or
You can’t perform that action at this time.
0 commit comments