rust/compiler/rustc_trait_selection/src/solve
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
..
search_graph Auto merge of #108056 - matthiaskrgr:rollup-oa6bxvh, r=matthiaskrgr 2023-02-14 21:07:04 +00:00
trait_goals Rollup merge of #107941 - compiler-errors:str-has-u8-slice-for-auto, r=lcnr 2023-02-26 12:04:57 +01:00
assembly.rs Check object's supertrait and associated type bounds in new solver 2023-02-24 02:45:05 +00:00
eval_ctxt.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
fulfill.rs add AliasEq to PredicateKind 2023-02-10 13:44:46 +00:00
mod.rs Rename many interner functions. 2023-02-24 07:32:24 +11:00
project_goals.rs Make higher-ranked projections in object types work in new solver 2023-02-24 02:48:44 +00:00
trait_goals.rs Rollup merge of #108333 - compiler-errors:new-solver-object-sound, r=lcnr 2023-02-25 11:53:11 -08:00