Files
rust/library/core/src
bors 380addd7d2 Auto merge of #100733 - scottmcm:inline-from-from-identity, r=m-ou-se
Inline `<T as From<T>>::from`

I noticed (in https://github.com/rust-lang/rust/pull/100693#issuecomment-1218520141) that the MIR for <https://play.rust-lang.org/?version=nightly&mode=release&edition=2021&gist=67097e0494363ee27421a4e3bdfaf513> has inlined most stuff
```
scope 5 (inlined <Result<i32, u32> as Try>::branch)
```
```
scope 8 (inlined <Result<i32, u32> as Try>::from_output)
```

But yet the do-nothing `from` call was still there:
```
_17 = <u32 as From<u32>>::from(move _18) -> bb9;
```

So let's give this a try and see what perf has to say.
2022-09-06 14:33:31 +00:00
..
2022-08-22 13:28:25 -07:00
2022-08-22 13:28:25 -07:00
2022-07-16 10:04:14 +09:00
2022-08-12 16:28:15 -04:00
2022-09-04 20:35:23 +08:00
2022-04-02 02:45:49 -04:00
2022-08-21 06:36:11 +04:00
2022-09-04 08:07:53 -07:00
2022-05-22 07:18:32 -03:00
2022-09-01 17:32:00 +01:00
2022-07-22 14:25:41 -04:00
2022-07-01 15:48:23 +02:00
2022-08-22 13:28:25 -07:00
2022-08-25 07:42:07 +01:00
2022-08-31 18:24:55 +08:00
2022-08-23 21:47:31 +02:00
2022-05-05 09:58:13 +10:00
2022-08-31 18:24:55 +08:00
2022-08-12 16:28:15 -04:00