Lines Matching full:rustfmt
1 //! A tool for querying Rust source files wired into Bazel and running Rustfmt on them.
9 /// The Bazel Rustfmt tool entry point
17 // Run rustfmt on these targets in main()
78 // Except for targets tagged with `norustfmt`, `no-rustfmt`, or `no-format`. in edition_query()
81 …r(edition, "{edition}", $scope) except attr(tags, "(^\[|, )(no-format|no-rustfmt|norustfmt)(, |\]$… in edition_query()
124 /// Run rustfmt on a set of Bazel targets
142 // Run rustfmt in apply_rustfmt()
143 let status = Command::new(&options.rustfmt_config.rustfmt) in apply_rustfmt()
151 .expect("Failed to run rustfmt"); in apply_rustfmt()
159 /// A struct containing details used for executing rustfmt.
168 /// Information about the current rustfmt binary to run.
179 /// produce config data for running rustfmt.