rust/src/librustc_lint
Robin Kruppe 051ea5cc9b [improper_ctypes] Don't suggest raw pointers when encountering trait objects
It's unhelpful since raw pointers to trait objects are also FFI-unsafe and casting to a thin raw pointer loses the vtable. There are working solutions that _involve_ raw pointers but they're too complex to explain in one line and have serious trade offs.
2018-02-15 19:49:50 +01:00
..
bad_style.rs Rename ReprExtern to ReprC, and similarily rename a few other fields and locals that mentioned "extern repr" 2018-01-07 22:05:32 +01:00
builtin.rs in which the private no-mangle lints receive a valued lesson in humility 2018-01-16 00:31:43 -08:00
Cargo.toml Try to fix a perf regression by updating log 2018-01-07 16:54:05 +01:00
lib.rs Remove impl Foo for .. in favor of auto trait Foo 2018-01-13 18:48:00 +03:00
types.rs [improper_ctypes] Don't suggest raw pointers when encountering trait objects 2018-02-15 19:49:50 +01:00
unused.rs Add AutoBorrowMutability; its like hir::Mutability but w/ two-phase borrow info too. 2018-02-08 12:16:30 +01:00