Skip to content

Commit

Permalink
Update prdoc/pr_4012.prdoc
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandru Vasile <[email protected]>
  • Loading branch information
pkhry and lexnv authored Oct 31, 2024
1 parent 0d0f89f commit b5ed2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prdoc/pr_4012.prdoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ doc:
description: |
Currently, if there is a type alias similar to `type HeaderFor<T>` in the scope, it makes sense to expect that
`HeaderFor<Runtime>` and `HeaderFor<Self>` are equivalent. However, this is not the case. It currently leads to
a compilation error that `Self is not in scope`, which is confusing. This PR Introduces a visitor, similar to
a compilation error that `Self is not in scope`, which is confusing. This PR introduces a visitor, similar to
`CheckTraitDecl` in `decl_runtime_apis!`, `ReplaceSelfImpl`. It identifies usage of `Self` as a type argument in
`impl_runtime_apis!` and replaces `Self` with an explicit `Runtime` type.

Expand Down

0 comments on commit b5ed2cf

Please sign in to comment.