Home
last modified time | relevance | path

Searched refs:set_fg (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/codespan/codespan-reporting/src/term/
Dconfig.rs162 header_bug: header.clone().set_fg(Some(Color::Red)).clone(), in with_blue()
163 header_error: header.clone().set_fg(Some(Color::Red)).clone(), in with_blue()
164 header_warning: header.clone().set_fg(Some(Color::Yellow)).clone(), in with_blue()
165 header_note: header.clone().set_fg(Some(Color::Green)).clone(), in with_blue()
166 header_help: header.clone().set_fg(Some(Color::Cyan)).clone(), in with_blue()
169 primary_label_bug: ColorSpec::new().set_fg(Some(Color::Red)).clone(), in with_blue()
170 primary_label_error: ColorSpec::new().set_fg(Some(Color::Red)).clone(), in with_blue()
171 primary_label_warning: ColorSpec::new().set_fg(Some(Color::Yellow)).clone(), in with_blue()
172 primary_label_note: ColorSpec::new().set_fg(Some(Color::Green)).clone(), in with_blue()
173 primary_label_help: ColorSpec::new().set_fg(Some(Color::Cyan)).clone(), in with_blue()
[all …]
/third_party/rust/crates/syn/tests/
Dzzz_stable.rs24 stderr.set_color(ColorSpec::new().set_fg(Some(Color::Yellow)))?; in notice()
26 stderr.set_color(ColorSpec::new().set_bold(true).set_fg(Some(Color::Yellow)))?; in notice()
28 stderr.set_color(ColorSpec::new().set_fg(Some(Color::Yellow)))?; in notice()
/third_party/rust/crates/syn/tests/features/macro/
Dlib.rs25 let yellow = ColorSpec::new().set_fg(Some(Color::Yellow)).clone(); in check()
39 let red = ColorSpec::new().set_fg(Some(Color::Red)).clone(); in check()
/third_party/rust/crates/clap/src/builder/
Dstyled_str.rs215 color.set_fg(Some(termcolor::Color::Green)); in write_colored()
218 color.set_fg(Some(termcolor::Color::Yellow)); in write_colored()
221 color.set_fg(Some(termcolor::Color::Red)); in write_colored()
/third_party/rust/crates/quote/benches/
Dtimer.rs15 _ = writer.set_color(ColorSpec::new().set_fg(Some(Color::Magenta))); in time()
/third_party/rust/crates/termcolor/
DREADME.md59 stdout.set_color(ColorSpec::new().set_fg(Some(Color::Green)))?;
79 buffer.set_color(ColorSpec::new().set_fg(Some(Color::Green)))?;
/third_party/rust/crates/env_logger/src/fmt/writer/termcolor/
Dextern_impl.rs279 self.spec.set_fg(Some(color.into_termcolor())); in set_color()
/third_party/rust/crates/termcolor/src/
Dlib.rs1687 pub fn set_fg(&mut self, color: Option<Color>) -> &mut ColorSpec { in set_fg() method
2309 color.set_fg(fg); in all_attributes()