-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Fix target list of link_section
#147418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix target list of link_section
#147418
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ LL | #[link_section = "x"] | |
| ^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | ||
= help: `#[link_section]` can be applied to statics and functions | ||
= help: `#[link_section]` can be applied to functions and statics | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe we should sort this list in the future, so this doesn't happen There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. better for incremental too actually hehe There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
warning: `#[link_ordinal]` attribute cannot be used on macro calls | ||
--> $DIR/attr-on-mac-call.rs:33:5 | ||
|
Uh oh!
There was an error while loading. Please reload this page.