diff options
| author | bors <bors@rust-lang.org> | 2023-08-13 00:05:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-13 00:05:53 +0000 |
| commit | 49af618ef94182deafa1d7ee4f2f539869d1d2f2 (patch) | |
| tree | c0c3cae913d7fe33d2dea9ca6f1d965630575c37 /compiler/rustc_mir_transform/src/coverage/tests.rs | |
| parent | 28eb857b9504bd05bbed0cf8af8e825fbdbb1fa1 (diff) | |
| parent | bb76fde73482efa3f2bba1e8bc0d35ad962f83dd (diff) | |
| download | rust-49af618ef94182deafa1d7ee4f2f539869d1d2f2.tar.gz rust-49af618ef94182deafa1d7ee4f2f539869d1d2f2.zip | |
Auto merge of #114739 - lcnr:int-infer-impls, r=compiler-errors
remove builtin `Copy` and `Clone` impl for float and int infer
it's only change is whether `{integer}: Copy` is ambiguous, this has the following properties
- these goals get proven earlier, potentially resulting in slightly better perf
- it causes inconsistent behavior and ICE if there do not exist impls for all integers, causing issues when using `#[no_core]`
- it means `Clone` has user-facing differences from other traits from `core` with the new solver because it can potentially guide inference there
- it's just very sus™ to have a builtin impl which applies during type inference but not afterwards
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions
