rust/src/librustc_lint
Manish Goregaokar f276dd4f28
Rollup merge of #74448 - davidtwco:improper-ctypes-definitions-boxes, r=davidtwco
improper_ctypes_definitions: allow `Box`

Addresses https://github.com/rust-lang/rust/pull/72700#issuecomment-659449386.

This PR stops linting against `Box` in `extern "C" fn`s for the `improper_ctypes_definitions` lint - boxes are documented to be FFI-safe.

cc @alexcrichton @CryZe
2020-07-17 18:13:47 -07:00
..
nonstandard_style Separate librustc_lint module 2019-06-16 14:17:01 +03:00
Cargo.toml Implement mixed script confusable lint. 2020-06-26 01:39:31 +08:00
array_into_iter.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
builtin.rs Rollup merge of #74438 - RalfJung:uninit-lint, r=davidtwco 2020-07-17 14:09:29 -07:00
context.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
early.rs Implement crate level only lints checking. 2020-06-18 09:53:12 +08:00
internal.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
late.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00
levels.rs Use for<'tcx> fn pointers in Providers, instead of having Providers<'tcx>. 2020-07-05 23:00:14 +03:00
lib.rs apply bootstrap cfgs 2020-07-16 19:36:49 -04:00
non_ascii_idents.rs Implement mixed script confusable lint. 2020-06-26 01:39:31 +08:00
nonstandard_style.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
passes.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
redundant_semicolon.rs encode `;` stmt w/o expr as `StmtKind::Empty` 2020-03-01 23:02:17 +01:00
types.rs Rollup merge of #74448 - davidtwco:improper-ctypes-definitions-boxes, r=davidtwco 2020-07-17 18:13:47 -07:00
unused.rs Rename TypeckTables to TypeckResults. 2020-07-17 08:47:04 +00:00