mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-22 08:08:35 +00:00
It didn't do anything (behaved like `item`), as with `enforceGranularity = false` (which is the default), the style of the current file is always preferred, regardless of the setting. We could make it fail when the setting is `preserve` and the current file's style could not be detected, but that makes little sense. It is a bit weird that the default is `crate` but `preserve` falls back to `item`, however that was the previous behavior. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||