Matthias Krüger 2bc553c6ea
Rollup merge of #107941 - compiler-errors:str-has-u8-slice-for-auto, r=lcnr
Treat `str` as containing `[u8]` for auto trait purposes

Wanted to gauge ``@rust-lang/lang`` and ``@rust-lang/types`` teams' thoughts on treating `str` as "containing" a `[u8]` slice for auto-trait purposes.

``@dtolnay`` brought this up in https://github.com/rust-lang/rust/issues/13231#issuecomment-1399386472 as a blocker for future `str` type librarification, and I think it's both a valid concern and very easy to fix. I'm interested in actually doing that `str` type librarification (#107939), but this probably should be considered in the mean time regardless of that PR.

r? types for the impl, though this definitely needs an FCP.
2023-02-26 12:04:57 +01:00
..
2023-02-16 15:14:45 +11:00
2023-02-22 21:52:26 +00:00
2023-02-22 21:52:26 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-02-18 03:34:27 +00:00
2023-01-30 20:12:19 +00:00
2023-02-19 03:46:03 +00:00
2023-02-16 11:42:35 -03:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:21 +00:00
2023-02-22 21:52:26 +00:00
2023-02-16 11:42:35 -03:00
2023-01-30 21:51:35 +00:00
2023-01-30 20:12:19 +00:00
2023-02-07 19:17:24 +00:00
2023-02-23 13:57:13 +03:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-01-30 20:12:19 +00:00
2023-02-20 15:28:59 +00:00
2023-01-30 20:12:19 +00:00
2023-02-05 15:29:07 +01:00
2023-02-16 15:06:17 -08:00
2023-02-12 20:18:48 -05:00
2023-01-30 20:12:19 +00:00
2023-01-27 22:13:55 +01:00
2023-02-21 05:21:07 +00:00
2023-02-07 19:17:24 +00:00
2023-02-22 21:52:26 +00:00
2023-02-21 05:21:07 +00:00
2023-02-09 10:26:49 +00:00