-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
WIP Add a shim for functions annotated with #[track_caller]
(RFC 2091 #2/N)
#65082
Closed
Commits on Oct 5, 2019
-
[RFC 2091] Add #[track_caller] attribute.
- The attribute is behind a feature gate. - Error if both #[naked] and #[track_caller] are applied to the same function. - Error if #[track_caller] is applied to a non-function item. - Error if ABI is not "rust" - Error if #[track_caller] is applied to a trait function. Error codes and descriptions are pending.
Configuration menu - View commit details
-
Copy full SHA for b77b557 - Browse repository at this point
Copy the full SHA b77b557View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6edbfdc - Browse repository at this point
Copy the full SHA 6edbfdcView commit details -
track_caller feature gate starts in 1.40.0.
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 43c1065 - Browse repository at this point
Copy the full SHA 43c1065View commit details -
Configuration menu - View commit details
-
Copy full SHA for 635ded0 - Browse repository at this point
Copy the full SHA 635ded0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e9400c - Browse repository at this point
Copy the full SHA 2e9400cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00df81c - Browse repository at this point
Copy the full SHA 00df81cView commit details -
Configuration menu - View commit details
-
Copy full SHA for db7af2b - Browse repository at this point
Copy the full SHA db7af2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 532465b - Browse repository at this point
Copy the full SHA 532465bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26ce8fe - Browse repository at this point
Copy the full SHA 26ce8feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11aece0 - Browse repository at this point
Copy the full SHA 11aece0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbeaec6 - Browse repository at this point
Copy the full SHA fbeaec6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a87757 - Browse repository at this point
Copy the full SHA 0a87757View commit details -
Configuration menu - View commit details
-
Copy full SHA for c352eda - Browse repository at this point
Copy the full SHA c352edaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 311fa06 - Browse repository at this point
Copy the full SHA 311fa06View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.