ruff/crates/ruff_linter/src/message
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
..
snapshots Add cell field to JSON output format (#7664) 2023-10-13 01:06:02 +00:00
azure.rs Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
diff.rs Update applicability messages for clarity in tests (#8541) 2023-11-07 16:11:43 +00:00
github.rs Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
gitlab.rs Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
grouped.rs Use OneIndexed in NotebookIndex (#7921) 2023-10-13 06:23:49 +05:30
json.rs Add cell field to JSON output format (#7664) 2023-10-13 01:06:02 +00:00
json_lines.rs Add cell field to JSON output format (#7664) 2023-10-13 01:06:02 +00:00
junit.rs Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
mod.rs Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00
pylint.rs Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
text.rs Rename tab-size to indent-width (#8082) 2023-10-24 10:01:24 -04:00