ruff/crates/ruff_macros/src
konsti 14e65afdc6
Update to Rust 1.74 and use new clippy lints table (#8722)
Update to [Rust
1.74](https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html) and use
the new clippy lints table.

The update itself introduced a new clippy lint about superfluous hashes
in raw strings, which got removed.

I moved our lint config from `rustflags` to the newly stabilized
[workspace.lints](https://doc.rust-lang.org/stable/cargo/reference/workspaces.html#the-lints-table).
One consequence is that we have to `unsafe_code = "warn"` instead of
"forbid" because the latter now actually bans unsafe code:

```
error[E0453]: allow(unsafe_code) incompatible with previous forbid
  --> crates/ruff_source_file/src/newlines.rs:62:17
   |
62 |         #[allow(unsafe_code)]
   |                 ^^^^^^^^^^^ overruled by previous forbid
   |
   = note: `forbid` lint level was set on command line
```

---------

Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2023-11-16 18:12:46 -05:00
..
cache_key.rs Add #[automatically_derived] to derived impls (#8080) 2023-10-20 00:12:27 +00:00
combine_options.rs Add #[automatically_derived] to derived impls (#8080) 2023-10-20 00:12:27 +00:00
config.rs Remove repeated and erroneous scoped settings headers in docs (#8670) 2023-11-14 05:44:30 +00:00
derive_message_formats.rs Format let-else with rustfmt nightly (#5461) 2023-07-03 02:13:35 +00:00
lib.rs Rename ConfigurationOptions derive macro to OptionsMetadata 2023-09-27 09:04:26 +02:00
map_codes.rs Rename RuleGroup::Unspecified to Stable (#7991) 2023-10-16 14:53:27 -05:00
newtype_index.rs Add unreachable code rule (#5384) 2023-07-04 14:27:23 +00:00
rule_code_prefix.rs Update rule selection to respect preview mode (#7195) 2023-09-11 12:28:39 -05:00
rule_namespace.rs Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
violation.rs Add #[automatically_derived] to derived impls (#8080) 2023-10-20 00:12:27 +00:00