-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Allow primitive types in disallowed_methods #8112
Allow primitive types in disallowed_methods #8112
Conversation
r? @flip1995 (rust-highfive has picked a reviewer for you, use r? to override) |
a0de1fc
to
b6ecad5
Compare
e88eca4
to
6e8a9a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impl LGTM. Small suggestion for an addition test.
Since def_path_str returns e.g. "core::f32::<impl f32>::clamp" for "f32::clamp"
6e8a9a3
to
04eb27a
Compare
@rustbot ready |
@bors r+ Thanks! |
📌 Commit 04eb27a has been approved by |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Fixes #8079
changelog:
disallowed_methods
: Now can disallow methods of primitive types