Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Pass --file-lines to rustfmt only if specified #1497

Merged
merged 2 commits into from
Jun 25, 2019

Conversation

Xanewok
Copy link
Member

@Xanewok Xanewok commented Jun 24, 2019

Closes #1463

cc @jsgf

@Xanewok Xanewok merged commit bc871c7 into rust-lang:master Jun 25, 2019
@Xanewok Xanewok deleted the no-file-lines branch June 25, 2019 09:43
Centril added a commit to Centril/rust that referenced this pull request Jun 27, 2019
Update RLS

Merged PRs:
* fix(cmd): make clear_env_rust_log default to false (rust-lang/rls#1486)
  - Retain `RUST_LOG` in `rls --cli` mode
* Pass --file-lines to rustfmt only if specified (rust-lang/rls#1497)
  - Fix entire-file formatting when using external rustfmt (specified via `rustfmt_path` config)
* Ensure that --error-format is only passed once to `rustc` (rust-lang/rls#1500)
  - Unbreaks RLS when used together with Cargo [pipelining build](rust-lang#60988) feature (@alexcrichton I'd consider this a stabilization blocker, mind adding it to the tracking issue for the record? 🙇‍♂️ )
Centril added a commit to Centril/rust that referenced this pull request Jun 27, 2019
Update RLS

Merged PRs:
* fix(cmd): make clear_env_rust_log default to false (rust-lang/rls#1486)
  - Retain `RUST_LOG` in `rls --cli` mode
* Pass --file-lines to rustfmt only if specified (rust-lang/rls#1497)
  - Fix entire-file formatting when using external rustfmt (specified via `rustfmt_path` config)
* Ensure that --error-format is only passed once to `rustc` (rust-lang/rls#1500)
  - Unbreaks RLS when used together with Cargo [pipelining build](rust-lang#60988) feature (@alexcrichton I'd consider this a stabilization blocker, mind adding it to the tracking issue for the record? 🙇‍♂️ )
Centril added a commit to Centril/rust that referenced this pull request Jun 27, 2019
Update RLS

Merged PRs:
* fix(cmd): make clear_env_rust_log default to false (rust-lang/rls#1486)
  - Retain `RUST_LOG` in `rls --cli` mode
* Pass --file-lines to rustfmt only if specified (rust-lang/rls#1497)
  - Fix entire-file formatting when using external rustfmt (specified via `rustfmt_path` config)
* Ensure that --error-format is only passed once to `rustc` (rust-lang/rls#1500)
  - Unbreaks RLS when used together with Cargo [pipelining build](rust-lang#60988) feature (@alexcrichton I'd consider this a stabilization blocker, mind adding it to the tracking issue for the record? 🙇‍♂️ )
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rustfmt_path invokes rustfmt with --file-lines []
1 participant