You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…, r=flip1995
Adding the default lint level to the metadata collection
I noticed while working on the website adaption that the lint groups still had the `clippy::` prefix in the JSON output. This PR removes this prefix and adds a `level` field to each lint and with that simplifies the website display and saves performance.
The deprecated lints get are assigned to the level `none`. This is a bit different in comparison to the current lint list, but I believe that this will look better overall. Unless there is any argument against this :).
That's it just a small baby PR in comparison to the original monster ^^
---
See: rust-lang#7172 for the full metadata collection to-do list or to suggest a new feature in connection to it.
---
changelog: none
r? `@flip1995`
temp.rs:3:12: 3:30 warning: unreachable expression
temp.rs:3 return; if ptr::null() {}
^~~~~~~~~~~~~~~~~~
rustc: /home/ben/apps/rust/src/llvm/include/llvm/Support/Casting.h:231: typename llvm::enable_if<llvm::is_same<Y, typename llvm::simplify_type::SimpleType>, typename llvm::cast_retty<X, Y>::ret_type>::type llvm::cast(Y_) [with X = llvm::SequentialType, Y = llvm::Type, typename llvm::enable_if<llvm::is_same<Y, typename llvm::simplify_type::SimpleType>, typename llvm::cast_retty<X, Y_>::ret_type>::type = llvm::SequentialType*]: Assertion `isa(Val) && "cast() argument of incompatible type!"' failed.
Happens at least with the (a bit out of date) master 2d28d64.
The text was updated successfully, but these errors were encountered: