You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_session/src/options.rs
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ use std::collections::BTreeMap;
20
20
21
21
use std::collections::hash_map::DefaultHasher;
22
22
use std::hash::Hasher;
23
-
use std::num::NonZeroUsize;
23
+
use std::num::{IntErrorKind,NonZeroUsize};
24
24
use std::path::PathBuf;
25
25
use std::str;
26
26
@@ -385,7 +385,7 @@ mod desc {
385
385
"`all` (default), `except-unused-generics`, `except-unused-functions`, or `off`";
386
386
pubconst parse_instrument_xray:&str = "either a boolean (`yes`, `no`, `on`, `off`, etc), or a comma separated list of settings: `always` or `never` (mutually exclusive), `ignore-loops`, `instruction-threshold=N`, `skip-entry`, `skip-exit`";
387
387
pubconst parse_unpretty:&str = "`string` or `string=string`";
388
-
pubconst parse_treat_err_as_bug:&str = "either no value or a number bigger than 0";
388
+
pubconst parse_treat_err_as_bug:&str = "either no value or a positive number";
389
389
pubconst parse_trait_solver:&str =
390
390
"one of the supported solver modes (`classic`, `next`, or `next-coherence`)";
0 commit comments