Jason Newcomb

Results 26 issues of Jason Newcomb

Minimal Implementation for #420. Adds only the flat api. None of the C++ wrappers are implemented.

waiting on review

This uses [is_nightly_build](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_feature/enum.UnstableFeatures.html#method.is_nightly_build) to determine if nightly-only lints should be added to their category, but makes no other changes. This means nightly-only lints are still registered and running, but they...

S-waiting-on-review

fixes #8548 A good chunk of the code is fixing false negatives. The old code banned any non late-bound regions from appearing in the callee's signature. The new version checks...

S-waiting-on-review

changelog: Don't lint `transmute_undefined_repr` when the the first field of a `repr(C)` type is compatible with the other type

S-waiting-on-review

This extracts the fix for the lint out of #7647. There's still a couple of other functions to check, but at least this will get lint working again. The two...

S-waiting-on-review

This is a minimal and hacky implementation right now, but it should get the idea across. A large number of suggestions in clippy are basically extracting a snippet of an...

S-waiting-on-review

This is a minor change which uses `ControlFlow` rather than a boolean. This also runs the visitor rather than returning the visitor, which results in a small readability win as...

S-waiting-on-review

Fixes #172 Fixes #166 Fixes #167 Fixes #165 Fixes #159 Fixes #155 Fixes #141 Fixes #99 Fixes #95 Fixes #38 Mostly fixes #105 Adds motion prediction to 1.10 and ports...

This is capable of replacing all the `cast_*` functions except the `cast` itself. No more need for `cast_ref`, `cast_slice` `cast_box`, `cast_vec` and such and any mutable variants. Also moves some...

fixes #12250 A great example of a lint that sounds super simple, but has a pile of edge cases. changelog: Add lint `manual_inspect`

S-waiting-on-author