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 =
@@ -1023,6 +1023,10 @@ mod parse {
1023
1023
letmut dump_tree = None;
1024
1024
for c in config.split(','){
1025
1025
match c {
1026
+
"no" => {
1027
+
*slot = None;
1028
+
returntrue;
1029
+
}
1026
1030
"globally" => globally = true,
1027
1031
"coherence" => {
1028
1032
globally = false;
@@ -1736,7 +1740,7 @@ options! {
1736
1740
"the size at which the `large_assignments` lint starts to be emitted"),
= warning: the behavior may change in a future release
10
10
= note: for more information, see issue #56105 <https://github.com/rust-lang/rust/issues/56105>
11
+
= note: downstream crates may implement trait `Marker` for type `&_`
11
12
= note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details
| ------------------------------------------------------ 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