Add long explanation for E0726#87655
Add long explanation for E0726#87655codekidX wants to merge 7 commits intorust-lang:masterfrom codekidX:master
Conversation
|
Some changes occurred in diagnostic error codes |
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @LeSeulArtichaut (or someone else) soon. Please see the contribution instructions for more information. |
There was a problem hiding this comment.
| ```rust | |
| ```compile_fail,E0726 |
There was a problem hiding this comment.
The explanation is a bit lacking no? Maybe try to explain a bit more.
There was a problem hiding this comment.
Also, please add a working version of the code example from above.
GuillaumeGomez
left a comment
There was a problem hiding this comment.
The explanation needs to be extending (lifetimes are far from an easy topic in rust) and you also need to add a working version of your previous failing code example.
There was a problem hiding this comment.
You need to remove E0725 from the list of error codes from below (it's not supposed to be declared twice in this file).
There was a problem hiding this comment.
It's also 726 and not 725.
| E0725: include_str!("./error_codes/E0726.md"), | |
| E0726: include_str!("./error_codes/E0726.md"), |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@GuillaumeGomez does |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
hey @GuillaumeGomez, I have added detailed explanation, please take a look. Also the test is failing as it should be right? Since its itself |
There was a problem hiding this comment.
Please write a short summary of the error here, the explanation goes below. :)
Something like "An argument's lifetime was elided in an async function".
In For the failing ui test, simply run it with |
There was a problem hiding this comment.
Why do you need a method btw? Shouldn't an async function be enough?
There was a problem hiding this comment.
No need to declare a main function, please remove it (but keep its content!).
There was a problem hiding this comment.
Please add a working version of your example above.
|
☔ The latest upstream changes (presumably #87697) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Ping from triage: |
|
Ping again from triage: |
|
@JohnCSimon I'll rebase and resolve comments by today. Had some busy weeks, thanks for waiting. |
This comment has been minimized.
This comment has been minimized.
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
☔ The latest upstream changes (presumably #90616) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Hi @apiraino, why did you add T-rustdoc here? This is a compiler error, rustdoc doesn't introduce any error codes that I know of. |
@jyn514 I sweep the repository and assign the relevant I probably didn't have clear the context and having seen a review from Guillaume tricked me into assuming that t-rustdoc had a say on this. Sorry, I hope that didn't cause any issue! |
|
@apiraino no worries, I changed it to the right label :) |
|
bump! |
…=Urgau Add long explanation for E0726 This is the cleaned up version of rust-lang#87655 with the missing fixes. Part of rust-lang#61137. r? `@Urgau`
Hey, I think some refactoring of codebase has occurred so the guidance mentioned in #61137 is not updated I think @GuillaumeGomez .
Please let me know if any other changes needs to be added to this PR.