Uh oh!
There was an error while loading. Please reload this page.
Cleanup of attribute parsing errors - #149949
Conversation
rustbot
commented
Dec 13, 2025
Some changes occurred in compiler/rustc_attr_parsing |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
rustbot
commented
Dec 13, 2025
Reminder, once the PR becomes ready for a review, use |
ee2bc6b to
17649b5Compare@rustbot ready @jdonszelmann Good idea, I improved a bunch of the spans :) |
| | | | ||
| | expected this to be a list | ||
| | | ||
| = note: for more information, visit <https://doc.rust-lang.org/reference/items/external-blocks.html#the-link-attribute> |
There was a problem hiding this comment.
hm we don't give any actual usage examples here 🤔
There was a problem hiding this comment.
That is because of #149917#[link] has too many examples so it decides not to show any.
I'm currently actually working on improving this system, this PR is the first in a series. I want to give more contextual usage examples.
Lets fix this in a future PR
JonathanBrouwer
commented
Dec 13, 2025
@rustbot ready |
jdonszelmann
commented
Dec 13, 2025
@bors r+ rollup |
17649b5 to
ae39d3dCompareJonathanBrouwer
commented
Dec 13, 2025
@bors r=jdonszelmann rollup |
bors
commented
Dec 13, 2025
…donszelmann Cleanup of attribute parsing errors Removes the specific `UnknownMetaItem` and `IllFormedAttributeInputLint` errors. Note that `IllFormedAttributeInputLint` is not a lint, contrary to its name r? `@jdonszelmann`
…uwer Rollup of 5 pull requests Successful merges: - #148755 (Constify `DropGuard::dismiss` and trait impls) - #148825 (Add SystemTime::{MIN, MAX}) - #149894 (Update to mdbook 0.5) - #149930 (std: small `sys` refactor) - #149949 (Cleanup of attribute parsing errors) r? `@ghost` `@rustbot` modify labels: rollup
…donszelmann Cleanup of attribute parsing errors Removes the specific `UnknownMetaItem` and `IllFormedAttributeInputLint` errors. Note that `IllFormedAttributeInputLint` is not a lint, contrary to its name r? ``@jdonszelmann``
…uwer Rollup of 5 pull requests Successful merges: - #148755 (Constify `DropGuard::dismiss` and trait impls) - #148825 (Add SystemTime::{MIN, MAX}) - #149894 (Update to mdbook 0.5) - #149949 (Cleanup of attribute parsing errors) - #149955 (Fix typo in armv7a-vex-v5 documentation) r? `@ghost` `@rustbot` modify labels: rollup
…uwer Rollup of 5 pull requests Successful merges: - #148755 (Constify `DropGuard::dismiss` and trait impls) - #148825 (Add SystemTime::{MIN, MAX}) - #149894 (Update to mdbook 0.5) - #149949 (Cleanup of attribute parsing errors) - #149955 (Fix typo in armv7a-vex-v5 documentation) r? `@ghost` `@rustbot` modify labels: rollup
…donszelmann Cleanup of attribute parsing errors Removes the specific `UnknownMetaItem` and `IllFormedAttributeInputLint` errors. Note that `IllFormedAttributeInputLint` is not a lint, contrary to its name r? ```@jdonszelmann```
…donszelmann Cleanup of attribute parsing errors Removes the specific `UnknownMetaItem` and `IllFormedAttributeInputLint` errors. Note that `IllFormedAttributeInputLint` is not a lint, contrary to its name r? ````@jdonszelmann````
…donszelmann Cleanup of attribute parsing errors Removes the specific `UnknownMetaItem` and `IllFormedAttributeInputLint` errors. Note that `IllFormedAttributeInputLint` is not a lint, contrary to its name r? `````@jdonszelmann`````
Rollup of 7 pull requests Successful merges: - #146794 (std: reorganize pipe implementations) - #148196 (Implement create_dir_all() to operate iteratively instead of recursively) - #148490 (dangling pointer from temp cleanup) - #149864 (std: Don't use `linkat` on the `wasm32-wasi*` targets) - #149885 (replace addr_of_mut with &raw mut in maybeuninit docs) - #149949 (Cleanup of attribute parsing errors) - #149969 (don't use no_main and no_core to test IBT) Failed merges: - #148847 (Share Timespec between Unix and Hermit) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 8 pull requests Successful merges: - #146794 (std: reorganize pipe implementations) - #148490 (dangling pointer from temp cleanup) - #149837 (Update `wrapping_sh[lr]` docs and examples) - #149864 (std: Don't use `linkat` on the `wasm32-wasi*` targets) - #149885 (replace addr_of_mut with &raw mut in maybeuninit docs) - #149949 (Cleanup of attribute parsing errors) - #149969 (don't use no_main and no_core to test IBT) - #149998 (miri subtree update) r? `@ghost` `@rustbot` modify labels: rollup
Rollup of 8 pull requests Successful merges: - #146794 (std: reorganize pipe implementations) - #148490 (dangling pointer from temp cleanup) - #149837 (Update `wrapping_sh[lr]` docs and examples) - #149864 (std: Don't use `linkat` on the `wasm32-wasi*` targets) - #149885 (replace addr_of_mut with &raw mut in maybeuninit docs) - #149949 (Cleanup of attribute parsing errors) - #149969 (don't use no_main and no_core to test IBT) - #149998 (miri subtree update) r? `@ghost` `@rustbot` modify labels: rollup
Uh oh!
There was an error while loading. Please reload this page.
Rollup merge of #149949 - JonathanBrouwer:error_cleanup, r=jdonszelmann Cleanup of attribute parsing errors Removes the specific `UnknownMetaItem` and `IllFormedAttributeInputLint` errors. Note that `IllFormedAttributeInputLint` is not a lint, contrary to its name r? ``````@jdonszelmann``````
Rollup of 8 pull requests Successful merges: - rust-lang/rust#146794 (std: reorganize pipe implementations) - rust-lang/rust#148490 (dangling pointer from temp cleanup) - rust-lang/rust#149837 (Update `wrapping_sh[lr]` docs and examples) - rust-lang/rust#149864 (std: Don't use `linkat` on the `wasm32-wasi*` targets) - rust-lang/rust#149885 (replace addr_of_mut with &raw mut in maybeuninit docs) - rust-lang/rust#149949 (Cleanup of attribute parsing errors) - rust-lang/rust#149969 (don't use no_main and no_core to test IBT) - rust-lang/rust#149998 (miri subtree update) r? `@ghost` `@rustbot` modify labels: rollup
Removes the specific
UnknownMetaItemandIllFormedAttributeInputLinterrors.Note that
IllFormedAttributeInputLintis not a lint, contrary to its namer? @jdonszelmann