Comments (2)
I'm not sure if this is really fixable / worth fixing. Can you explain a real word issue where you would use such a STATIC_ASSERT
function? You can also use the checking at the initialization function.
from rust-clippy.
This has come up before. let_unit_binding
is in a weird spot here. There isn't a binding, but explicitly ignoring a unit value is also weird.
no_effect
is a rustc lint so an issue would need to opened there.
from rust-clippy.
Related Issues (20)
- Paths printed with {:?} instead of .display() HOT 2
- Unit-like structs should not trigger `exhaustive_structs` HOT 2
- rustc_codegen_ssa::mir::locals Unexpected initial operand type
- `missing_const_for_fn` misses some cases with generics involved HOT 1
- Check that the return type and parameters of a trait method without a body are `Sized`
- Warning emitted for non-canonical implementations conflicts with denying implicit and needless returns HOT 1
- box_default causes type error HOT 1
- `overly_complex_bool_expr` triggers wrongly
- cast-lossless suggests calling macro in itself
- clippy-driver acts as a bogus rustc wrapper HOT 2
- lint: Unnecessary intermediary conversion HOT 2
- ICE when using `tracing::debug!("").await` in a non-async fn HOT 2
- `haystack.ends_with(needle)` doesn't silence `clippy::arithmetic_side_effects` caused by `haystack.len()-needle.len()` HOT 1
- Clippy gives unit_arg warning when using `black_box` HOT 4
- string_slice should detect on Cow
- assigning_clones false positive for Option<T> where T uses default clone_from impl HOT 3
- Allow numbers in module_name_repetitions
- `lints.workspace` is not allowed to be `false` HOT 1
- `[workspace.lints.clippy]` cannot override a category `"warn"` with a lint specific `"allow"` HOT 3
- `io::Error::new(io::ErrorKind::Other, ..)`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-clippy.