Skip to content

Commit e70724c

Browse files
committed
address rebase damage
1 parent 99dc545 commit e70724c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/libcore/convert.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ impl<T> From<T> for T {
560560
///
561561
/// [#64715]: https://github.com/rust-lang/rust/issues/64715
562562
#[stable(feature = "convert_infallible", since = "1.34.0")]
563-
#[cfg(not(boostrap_stdarch_ignore_this))]
563+
#[cfg(not(bootstrap))]
564564
#[rustc_reservation_impl="permitting this impl would forbid us from adding \
565565
`impl<T> From<!> for T` later; see rust-lang/rust#64715 for details"]
566566
impl<T> From<!> for T {

src/test/ui/traits/reservation-impls/reservation-impl-no-use.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error[E0277]: the trait bound `(): MyTrait` is not satisfied
2-
--> $DIR/reservation-impl-no-use.rs:12:5
2+
--> $DIR/reservation-impl-no-use.rs:12:26
33
|
44
LL | trait MyTrait { fn foo(&self); }
55
| -------------- required by `MyTrait::foo`
66
...
77
LL | <() as MyTrait>::foo(&());
8-
| ^^^^^^^^^^^^^^^^^^^^ the trait `MyTrait` is not implemented for `()`
8+
| ^^^ the trait `MyTrait` is not implemented for `()`
99
|
1010
= help: the following implementations were found:
1111
<() as MyTrait>

0 commit comments

Comments
 (0)