File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/rustc_error_codes/src/error_codes Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ impl<'a> Contains for Foo {
195195Please note that unconstrained lifetime parameters are not supported if they are
196196being used by an associated type.
197197
198- In cases where the associated type's lifetime is meant to be tied to the the
198+ In cases where the associated type's lifetime is meant to be tied to the
199199self type, and none of the methods on the trait need ownership or different
200200mutability, then an option is to implement the trait on a borrowed type:
201201
Original file line number Diff line number Diff line change @@ -1748,8 +1748,8 @@ pub(crate) mod builtin {
17481748 /* compiler built-in */
17491749 }
17501750
1751- /// Provide a list of type aliases and other opaque-type-containing type definitions.
1752- /// This list will be used in the body of the item it is applied to define opaque
1751+ /// Provide a list of type aliases and other opaque-type-containing type definitions
1752+ /// to an item with a body. This list will be used in that body to define opaque
17531753 /// types' hidden types.
17541754 /// Can only be applied to things that have bodies.
17551755 #[ unstable(
You can’t perform that action at this time.
0 commit comments