rust/compiler/rustc_lint/src
Matthias Krüger eb6297eb6f
Rollup merge of #125477 - nnethercote:missed-rustfmt, r=compiler-errors
Run rustfmt on files that need it.

Somehow these files aren't properly formatted. By default `x fmt` and `x tidy` only check files that have changed against master, so if an ill-formatted file somehow slips in it can stay that way as long as it doesn't get modified(?)

I found these when I ran `x fmt` explicitly on every `.rs` file in the repo, while working on
https://github.com/rust-lang/compiler-team/issues/750.
2024-05-24 17:48:03 +02:00
..
context Auto merge of #125463 - GuillaumeGomez:rollup-287wx4y, r=GuillaumeGomez 2024-05-24 03:04:06 +00:00
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
async_fn_in_trait.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
builtin.rs Auto merge of #125434 - nnethercote:rm-more-extern-tracing, r=jackh726 2024-05-23 21:36:54 +00:00
context.rs Remove #[macro_use] extern crate tracing from rustc_lint. 2024-05-23 18:02:17 +10:00
deref_into_dyn_supertrait.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
drop_forget_useless.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
early.rs Remove #[macro_use] extern crate tracing from rustc_lint. 2024-05-23 18:02:17 +10:00
enum_intrinsics_non_enums.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
errors.rs Pass translation closure to add_to_diag_with() as reference 2024-04-21 07:45:03 +00:00
expect.rs Rename TyCtxt::emit_spanned_lint as TyCtxt::emit_node_span_lint. 2024-01-23 08:09:05 +11:00
for_loops_over_fallibles.rs Run rustfmt on files that need it. 2024-05-24 15:17:21 +10:00
foreign_modules.rs Remove #[macro_use] extern crate tracing from rustc_lint. 2024-05-23 18:02:17 +10:00
hidden_unicode_codepoints.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
impl_trait_overcaptures.rs And finally add tests 2024-05-13 23:57:56 -04:00
internal.rs Remove #[macro_use] extern crate tracing from rustc_lint. 2024-05-23 18:02:17 +10:00
invalid_from_utf8.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
late.rs Remove #[macro_use] extern crate tracing from rustc_lint. 2024-05-23 18:02:17 +10:00
let_underscore.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
levels.rs Remove #[macro_use] extern crate tracing from rustc_lint. 2024-05-23 18:02:17 +10:00
lib.rs Remove #[macro_use] extern crate tracing from rustc_lint. 2024-05-23 18:02:17 +10:00
lints.rs Rollup merge of #125412 - Urgau:check-cfg-less-build-rs, r=wesleywiser 2024-05-23 23:39:28 +02:00
map_unit_fn.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
methods.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
multiple_supertrait_upcastable.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
non_ascii_idents.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
non_fmt_panic.rs Remove extern crate rustc_middle from numerous crates. 2024-04-29 14:50:45 +10:00
non_local_def.rs Fix typos (taking into account review comments) 2024-05-18 18:12:18 +02:00
nonstandard_style.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
noop_method_call.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
opaque_hidden_inferred_bound.rs split out AliasTy -> AliasTerm 2024-05-13 11:59:42 -04:00
pass_by_value.rs Auto merge of #124401 - oli-obk:some_hir_cleanups, r=cjgillot 2024-05-04 00:32:27 +00:00
passes.rs Rename {enter,exit}_lint_attrs to check_attributes{,_post} 2024-03-24 14:57:57 +00:00
ptr_nulls.rs Rename LintContext::emit_spanned_lint as LintContext::emit_span_lint. 2024-01-23 08:08:25 +11:00
redundant_semicolon.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
reference_casting.rs Handle Deref expressions in invalid_reference_casting 2024-05-10 12:33:07 -04:00
shadowed_into_iter.rs Implement BOXED_SLICE_INTO_ITER 2024-05-20 19:21:30 -04:00
tests.rs refactor(rustc_lint): inline check_lint_name_cmdline 2023-08-30 17:35:07 +01:00
traits.rs Remove extern crate rustc_session from rustc_lint. 2024-04-29 13:57:41 +10:00
types.rs Remove #[macro_use] extern crate tracing from rustc_lint. 2024-05-23 18:02:17 +10:00
unit_bindings.rs Inline & delete Ty::new_unit, since it's just a field access 2024-05-02 17:49:23 +02:00
unused.rs Remove #[macro_use] extern crate tracing from rustc_lint. 2024-05-23 18:02:17 +10:00