rust/compiler/rustc_lint/src
fee1-dead 8b3d0c4cf9
Rollup merge of #105484 - nbdd0121:upcast, r=compiler-errors
Implement allow-by-default `multiple_supertrait_upcastable` lint

The lint detects when an object-safe trait has multiple supertraits.

Enabled in libcore and liballoc as they are low-level enough that many embedded programs will use them.

r? `@nikomatsakis`
2022-12-28 15:51:41 +08:00
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
builtin.rs address review comments + better tests 2022-12-26 16:35:21 +01:00
context.rs fix more clippy::style findings 2022-12-25 17:32:26 +01:00
deref_into_dyn_supertrait.rs Use nicer spans for deref_into_dyn_supertrait 2022-11-23 16:12:51 +00:00
early.rs Speed up the "builtin lints only" case. 2022-12-12 08:59:27 +11:00
enum_intrinsics_non_enums.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
errors.rs Convert all #[suggestion_*] attributes to #[suggestion(style = "...")] 2022-10-26 15:04:09 +02:00
expect.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
for_loops_over_fallibles.rs use &str / String literals instead of format!() 2022-12-18 16:17:46 +01:00
hidden_unicode_codepoints.rs Inline some hot lint pass functions. 2022-12-07 19:29:31 +11:00
internal.rs rustc_hir: Relax lifetime requirements on Visitor::visit_path 2022-12-01 17:04:02 +03:00
late.rs Speed up the "builtin lints only" case. 2022-12-12 08:59:27 +11:00
let_underscore.rs Merge branch 'master' into patch-2 2022-11-15 21:16:11 +01:00
levels.rs A few small cleanups for newtype_index 2022-12-18 21:47:28 +01:00
lib.rs Rollup merge of #105484 - nbdd0121:upcast, r=compiler-errors 2022-12-28 15:51:41 +08:00
methods.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
multiple_supertrait_upcastable.rs Implement allow-by-default multiple_supertrait_upcastable lint 2022-12-09 02:29:51 +00:00
non_ascii_idents.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
non_fmt_panic.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
nonstandard_style.rs Detect inherent associated types not having CamelCase 2022-12-16 14:45:04 +00:00
noop_method_call.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
opaque_hidden_inferred_bound.rs Ensure no one constructs AliasTys themselves 2022-12-14 15:36:39 +00:00
pass_by_value.rs Update documentation 2022-11-30 12:17:54 +00:00
passes.rs Reinstate {Early,Late}LintPassObjects. 2022-12-12 08:59:27 +11:00
redundant_semicolon.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
tests.rs Update to last upstream version 2021-07-08 17:14:28 +02:00
traits.rs Introduce PredicateKind::Clause 2022-11-25 00:04:54 -03:00
types.rs Combine projection and opaque into alias 2022-12-13 17:48:55 +00:00
unused.rs Rollup merge of #105515 - estebank:issue-104141, r=oli-obk 2022-12-27 08:57:45 +01:00