-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Warn or error on path statements #400
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Milestone
Comments
Looks like compile-fail/does-nothing.rs is testing this or something similar |
does_nothing tests the case where do_something_important is unresolved. This is a different situation. |
keeperofdakeys
pushed a commit
to keeperofdakeys/rust
that referenced
this issue
Dec 12, 2017
Add netlink constants Add netlink constants from linux/netlink.h Signed-off-by: Jana Radhakrishnan <mrjana@gmail.com>
kazcw
pushed a commit
to kazcw/rust
that referenced
this issue
Oct 23, 2018
dlrobertson
pushed a commit
to dlrobertson/rust
that referenced
this issue
Nov 29, 2018
…matcher Stabilize macro_vis_matcher
oli-obk
pushed a commit
to oli-obk/rust
that referenced
this issue
May 2, 2020
Add lint on large non scalar const This PR adds the new lint `non_scalar_const` that aims to warn against `const` declaration of large arrays. For performance, because of inlining, large arrays should be preferably declared as `static`. Note: i made this one to warn on all const arrays, whether they are in a body function or not. I don't know if this is really necessary, i could just reduce this lint to variables out of function scope. Fixes: rust-lang#400 changelog: add new lint for large non-scalar types declared as const
Aaron1011
pushed a commit
to Aaron1011/rust
that referenced
this issue
Oct 26, 2020
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.49 to 0.2.50. - [Release notes](https://github.com/rust-lang/libc/releases) - [Commits](rust-lang/libc@0.2.49...0.2.50) Signed-off-by: dependabot[bot] <support@dependabot.com>
dpaoliello
pushed a commit
to dpaoliello/rust
that referenced
this issue
Mar 22, 2024
feat: add SIMD float math functions (exp, exp2, log, log2, log10, sin…
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
This is pretty useless and error prone:
It's just mentioning a function, when the user probably wanted to call it. Note that it's not useless when leaving off the semi.
The text was updated successfully, but these errors were encountered: