Lukas Wirth
e320004dad
Remove tt -> ast -> tt round trips in attrs lowering
2024-01-26 19:28:39 +01:00
Lukas Wirth
41a46a78f2
Make tt generic over the span data
2023-01-31 14:58:16 +01:00
Yuri Astrakhan
e16c76e3c3
Inline all format arguments where possible
...
This makes code more readale and concise,
moving all format arguments like `format!("{}", foo)`
into the more compact `format!("{foo}")` form.
The change was automatically created with, so there are far less change
of an accidental typo.
```
cargo clippy --fix -- -A clippy::all -W clippy::uninlined_format_args
```
2022-12-24 14:36:10 -05:00
Amos Wenger
816f7fe12a
Run cargo fix --edition-idioms
2022-07-20 15:02:08 +02:00
Laurențiu Nicola
1a37b17162
Replace write! with direct calls
2022-03-21 10:43:36 +02:00
Jonas Schievink
8c9de51fa3
Simplify int_in_range
2021-08-31 13:11:17 +02:00
Jonas Schievink
8969cbb22f
Depend on both crates individually
2021-08-31 13:10:16 +02:00
Jonas Schievink
e6255356d2
Fix DNF construction, add proptest
2021-08-30 22:26:35 +02:00
Jade
20b325c7d5
tree-wide: make rustdoc links spiky so they are clickable
2021-06-13 21:58:05 -07:00
vsrs
5d23d8bc29
Add runnables::related_tests
2021-02-27 18:00:17 +03:00
Jonas Schievink
a246d4f599
cfg: move tests to separate file
...
that way we don't have to re-check the entire project when a test is
changed
2020-10-23 12:14:58 +02:00
Jonas Schievink
dbd6266bc9
Update crates/cfg/src/cfg_expr.rs
...
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2020-10-22 20:08:27 +02:00
Jonas Schievink
68b17986c7
Implement DNF-based #[cfg]
introspection
2020-10-22 17:57:00 +02:00
Jonas Schievink
2bc4c1ff31
Simplify cfg representation
2020-10-21 13:57:12 +02:00
Aleksey Kladov
68c2238725
Rename ra_cfg -> cfg
2020-08-13 10:36:04 +02:00