Uh oh!
There was an error while loading. Please reload this page.
Add new error codes in librustc - #28353
Conversation
630080a to
1d320abCompareThere was a problem hiding this comment.
Can’t this be generalised to the E0452? There seems really little use to differentiate between an empty name and a malformed attribute.
There was a problem hiding this comment.
This is quite hard to say... It can be generalised, but like this, we have a very precise error code for each.
1d320ab to
7358a5eCompareGuillaumeGomez
commented
Sep 14, 2015
@Manishearth: I'm done for |
There was a problem hiding this comment.
I'm not sure what this sentence is trying to say here
There was a problem hiding this comment.
I wanted to replace the message from the compiler when something is unstable or deprecated with the tag #[deprecated] by some kind of compilation message. But it seems it's not possible. I hope I was more clear...
There was a problem hiding this comment.
"It is not possible to use stability attributes outside of the standard library. Also, for now, it is not possible to write deprecation messages either."
92d9a0e to
a84c0caComparea84c0ca to
e6f6da1CompareGuillaumeGomez
commented
Sep 16, 2015
Updated ! |
Manishearth
commented
Sep 16, 2015
@bors r+ rollup |
bors
commented
Sep 16, 2015
📌 Commit e6f6da1 has been approved by |
bors
commented
Sep 16, 2015
r? @Manishearth This is a work in progress.
r? @Manishearth
This is a work in progress.