Esteban Küber
6dbad23641
When encountering sealed traits, point types that implement it
...
```
error[E0277]: the trait bound `S: d::Hidden` is not satisfied
--> $DIR/sealed-trait-local.rs:53:20
|
LL | impl c::Sealed for S {}
| ^ the trait `d::Hidden` is not implemented for `S`
|
note: required by a bound in `c::Sealed`
--> $DIR/sealed-trait-local.rs:17:23
|
LL | pub trait Sealed: self::d::Hidden {
| ^^^^^^^^^^^^^^^ required by this bound in `Sealed`
= note: `Sealed` is a "sealed trait", because to implement it you also need to implement `c::d::Hidden`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
= help: the following types implement the trait:
- c::X
- c::Y
```
The last `help` is new.
2023-10-27 17:40:52 +00:00
..
2023-04-02 19:42:30 -04:00
2023-08-02 13:40:28 +03:00
2023-10-27 17:40:52 +00:00
2023-08-02 13:40:28 +03:00
2023-10-23 10:10:22 +00:00
2023-10-23 10:10:22 +00:00
2023-08-02 13:40:28 +03:00
2023-08-02 13:40:28 +03:00
2023-10-05 01:04:41 +00:00
2023-03-31 17:07:59 +04:00
2023-10-05 01:04:41 +00:00
2023-06-22 16:50:31 +00:00
2023-04-03 22:28:55 -05:00
2023-04-03 22:28:55 -05:00
2023-08-02 13:40:28 +03:00
2023-08-02 13:40:28 +03:00
2023-10-22 21:27:46 +08:00
2023-10-22 21:27:46 +08:00
2023-05-26 06:23:03 +00:00
2023-05-26 06:23:03 +00:00
2023-05-26 06:23:03 +00:00
2023-05-26 06:23:03 +00:00
2023-07-28 14:28:02 +01:00
2023-07-28 14:28:02 +01:00
2023-07-28 14:28:02 +01:00
2023-07-28 14:28:02 +01:00
2023-07-28 14:28:02 +01:00
2023-07-28 14:28:02 +01:00
2023-04-03 22:28:55 -05:00
2023-04-03 22:28:55 -05:00
2023-02-22 08:40:47 -07:00
2023-10-05 01:04:41 +00:00
2023-07-11 17:52:43 +08:00
2023-07-11 17:52:43 +08:00
2023-07-11 17:52:43 +08:00
2023-07-11 17:52:43 +08:00
2023-01-11 21:36:02 +00:00
2023-06-22 16:50:31 +00:00
2023-04-12 22:50:10 +00:00
2023-04-12 22:50:10 +00:00
2023-04-03 22:28:55 -05:00
2023-04-03 22:28:55 -05:00
2023-06-22 16:50:31 +00:00
2023-09-07 06:48:24 +00:00
2023-02-22 08:40:47 -07:00
2023-02-22 08:40:47 -07:00
2023-08-02 13:40:28 +03:00
2023-08-02 13:40:28 +03:00
2023-02-13 18:41:18 +00:00
2023-08-02 13:40:28 +03:00
2023-08-02 13:40:28 +03:00
2023-08-02 13:40:28 +03:00
2023-08-02 13:40:28 +03:00
2023-08-02 13:40:28 +03:00
2023-10-09 11:47:02 +00:00
2023-10-23 10:10:22 +00:00
2023-10-23 10:10:22 +00:00
2023-06-12 01:02:19 +03:00
2023-06-12 01:02:19 +03:00
2023-08-02 13:40:28 +03:00
2023-08-02 13:40:28 +03:00
2023-08-02 13:40:28 +03:00
2023-02-22 08:40:47 -07:00
2023-02-22 08:40:47 -07:00
2023-02-22 08:40:47 -07:00
2023-02-22 08:40:47 -07:00
2023-02-22 08:40:47 -07:00
2023-02-22 08:40:47 -07:00
2023-08-02 13:40:28 +03:00
2023-08-02 13:40:28 +03:00
2023-10-22 21:27:46 +08:00
2023-10-22 21:27:46 +08:00
2023-10-26 22:21:05 +00:00
2023-10-26 22:21:05 +00:00
2023-10-26 22:21:05 +00:00
2023-01-11 21:36:02 +00:00
2023-01-11 21:36:02 +00:00
2023-01-11 21:36:02 +00:00
2023-09-06 19:31:49 +02:00
2023-08-02 13:40:28 +03:00
2023-04-03 22:28:55 -05:00
2023-04-03 22:28:55 -05:00
2023-08-02 13:40:28 +03:00
2023-10-09 11:47:02 +00:00
2023-08-02 13:40:28 +03:00
2023-10-09 11:47:02 +00:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00