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
@@ -400,7 +400,7 @@ mod desc {
400
400
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`";
401
401
pubconst parse_unpretty:&str = "`string` or `string=string`";
402
402
pubconst parse_treat_err_as_bug:&str = "either no value or a non-negative number";
403
-
pubconst parse_next_solver_config:&str = "a comma separated list of solver configurations: `globally` (default), `coherence`, `dump-tree`, `dump-tree-on-error";
403
+
pubconst parse_next_solver_config:&str = "a comma separated list of solver configurations: `globally` (default), `no`, `dump-tree`, `dump-tree-on-error";
404
404
pubconst parse_lto:&str =
405
405
"either a boolean (`yes`, `no`, `on`, `off`, etc), `thin`, `fat`, or omitted";
406
406
pubconst parse_linker_plugin_lto:&str =
@@ -1051,6 +1051,10 @@ mod parse {
1051
1051
letmut dump_tree = None;
1052
1052
for c in config.split(','){
1053
1053
match c {
1054
+
"no" => {
1055
+
*slot = None;
1056
+
returntrue;
1057
+
}
1054
1058
"globally" => globally = true,
1055
1059
"coherence" => {
1056
1060
globally = false;
@@ -1765,7 +1769,7 @@ options! {
1765
1769
"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