-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
#[track_caller]
feature gate (RFC 2091 1/N)
#65037
Merged
Merged
Commits on Oct 7, 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 543449d - Browse repository at this point
Copy the full SHA 543449dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c04c8e - Browse repository at this point
Copy the full SHA 6c04c8eView commit details -
track_caller feature gate starts in 1.40.0.
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43d4b70 - Browse repository at this point
Copy the full SHA 43d4b70View commit details -
Configuration menu - View commit details
-
Copy full SHA for d931afe - Browse repository at this point
Copy the full SHA d931afeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9900211 - Browse repository at this point
Copy the full SHA 9900211View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53096c5 - Browse repository at this point
Copy the full SHA 53096c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8992c30 - Browse repository at this point
Copy the full SHA 8992c30View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdc4bd1 - Browse repository at this point
Copy the full SHA bdc4bd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 130be6d - Browse repository at this point
Copy the full SHA 130be6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f70ed29 - Browse repository at this point
Copy the full SHA f70ed29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 190212c - Browse repository at this point
Copy the full SHA 190212cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c49966b - Browse repository at this point
Copy the full SHA c49966bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cca58d1 - Browse repository at this point
Copy the full SHA cca58d1View 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.