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
+6-2
Original file line number
Diff line number
Diff line change
@@ -398,7 +398,7 @@ mod desc {
398
398
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`";
399
399
pubconst parse_unpretty:&str = "`string` or `string=string`";
400
400
pubconst parse_treat_err_as_bug:&str = "either no value or a non-negative number";
401
-
pubconst parse_next_solver_config:&str = "a comma separated list of solver configurations: `globally` (default), `coherence`, `dump-tree`, `dump-tree-on-error";
401
+
pubconst parse_next_solver_config:&str = "a comma separated list of solver configurations: `globally` (default), `no`, `dump-tree`, `dump-tree-on-error";
402
402
pubconst parse_lto:&str =
403
403
"either a boolean (`yes`, `no`, `on`, `off`, etc), `thin`, `fat`, or omitted";
404
404
pubconst parse_linker_plugin_lto:&str =
@@ -1049,6 +1049,10 @@ mod parse {
1049
1049
letmut dump_tree = None;
1050
1050
for c in config.split(','){
1051
1051
match c {
1052
+
"no" => {
1053
+
*slot = None;
1054
+
returntrue;
1055
+
}
1052
1056
"globally" => globally = true,
1053
1057
"coherence" => {
1054
1058
globally = false;
@@ -1803,7 +1807,7 @@ options! {
1803
1807
"the size at which the `large_assignments` lint starts to be emitted"),
| ------------------------------------------------------ first implementation here
6
6
LL |
7
7
LL | impl<S: Iterator> MyTrait<S> for (Box<<(MyType,) as Mirror>::Assoc>, S::Item) {}
8
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(Box<(MyType,)>, _)`
8
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(Box<(MyType,)>, <_ as Iterator>::Item)`
9
9
|
10
10
= note: upstream crates may add a new impl of trait `std::marker::Copy` for type `std::boxed::Box<(MyType,)>` in future versions
0 commit comments