bors
9266d599f4
Auto merge of #24021 - pnkfelix:fn-params-outlive-body, r=nikomatsakis
...
Encode more precise scoping rules for function params
Function params outlive everything in the body (incl temporaries). Thus if we assign them their own `CodeExtent`, the region inference can properly show that it is sound to have temporaries with destructors that reference the parameters (because such temporaries will be dropped before the parameters are dropped).
Fix #23338
2015-04-08 12:57:58 +00:00
..
2015-04-07 20:41:34 +09:00
2015-04-08 01:19:38 +05:30
2015-03-27 10:58:12 -07:00
2015-04-06 19:46:48 -04:00
2015-04-04 19:01:48 -04:00
2015-04-02 13:25:06 -04:00
2015-04-08 00:42:10 +00:00
2015-04-08 00:42:10 +00:00
2015-04-08 07:02:06 +00:00
2015-04-08 00:42:10 +00:00
2015-04-01 11:23:45 -04:00
2015-04-01 11:23:45 -04:00
2015-04-01 11:23:45 -04:00
2015-04-02 14:23:41 +02:00
2015-04-01 11:23:45 -04:00
2015-04-01 18:37:54 -07:00
2015-04-01 11:23:45 -04:00
2015-04-08 12:57:58 +00:00
2015-04-01 11:22:39 -04:00
2015-04-03 17:46:08 -05:00
2015-04-01 18:37:54 -07:00
2015-04-01 18:37:54 -07:00
2015-04-01 11:22:39 -04:00
2015-04-08 09:58:05 +00:00
2015-04-07 18:03:07 +12:00
2015-04-08 09:58:05 +00:00
2015-04-08 09:58:05 +00:00
2015-04-07 07:41:32 +00:00
2015-04-01 11:23:45 -04:00
2015-04-08 00:42:10 +00:00
2015-04-08 09:58:05 +00:00
2015-04-02 00:18:45 -07:00
2015-04-02 00:18:45 -07:00
2015-04-08 00:42:10 +00:00
2015-04-02 11:31:31 -07:00
2015-04-08 00:26:35 +02:00
2015-04-08 12:57:58 +00:00
2015-04-01 13:47:09 -07:00