Merge pull request #2305 from mejrs/delete_from_method

Delete from_method from rustc_on_unimplemented documentation
This commit is contained in:
Tshepang Mbambo 2025-03-27 21:08:03 +02:00 committed by GitHub
commit f5db9fe17a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -954,9 +954,6 @@ application of these fields based on a variety of attributes when using
`Self="std::iter::Iterator<char>"`. This is needed because `Self` is a
keyword which cannot appear in attributes.
- `direct`: user-specified rather than derived obligation.
- `from_method`: usable both as boolean (whether the flag is present, like
`crate_local`) or matching against a particular method. Currently used
for `try`.
- `from_desugaring`: usable both as boolean (whether the flag is present)
or matching against a particular desugaring. The desugaring is identified
with its variant name in the `DesugaringKind` enum.