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
coverage: Migrate unstable options to new flag -Zcoverage-options
Moving these unstable values over to a separate unstable flag has a few
benefits:
- No need to distinguish stable/unstable values of `-Cinstrument-coverage`.
- Multiple options can be enabled/disabled independently.
- New behavior can be prototyped behind its own flag, and then enabled by
default when ready.
pubconst parse_dump_mono_stats:&str = "`markdown` (default) or `json`";
398
-
pubconst parse_instrument_coverage:&str = "either a boolean (`yes`, `no`, `on`, `off`, etc) or (unstable) one of `branch`, `except-unused-generics`, `except-unused-functions`";
"one or more of `branch`, `no-unused-functions`, `no-unused-generics` (comma separated)";
399
401
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`";
400
402
pubconst parse_unpretty:&str = "`string` or `string=string`";
401
403
pubconst parse_treat_err_as_bug:&str = "either no value or a non-negative number";
error: incorrect value `bad-value` for codegen option `instrument-coverage` - either a boolean (`yes`, `no`, `on`, `off`, etc) or (unstable) one of `branch`, `except-unused-generics`, `except-unused-functions` was expected
1
+
error: incorrect value `bad-value` for codegen option `instrument-coverage` - one of: `y`, `yes`, `on`, `true`, `n`, `no`, `off` or `false` was expected
error: incorrect value `` for codegen option `instrument-coverage` - either a boolean (`yes`, `no`, `on`, `off`, etc) or (unstable) one of `branch`, `except-unused-generics`, `except-unused-functions` was expected
1
+
error: incorrect value `` for codegen option `instrument-coverage` - one of: `y`, `yes`, `on`, `true`, `n`, `no`, `off` or `false` was expected
error: incorrect value `branch,bad` for unstable option `coverage-options` - one or more of `branch`, `no-unused-functions`, `no-unused-generics` (comma separated) was expected
0 commit comments