diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2025-03-28 10:01:29 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2025-04-07 16:53:11 -0300 |
| commit | b078564fe627922790917d8d8a9b28a8877a8028 (patch) | |
| tree | d58b125b47bac54e513cc26cb983ea83561535d5 /compiler/rustc_middle/src | |
| parent | e643f59f6da3a84f43e75dea99afaa5b041ea6bf (diff) | |
| download | rust-b078564fe627922790917d8d8a9b28a8877a8028.tar.gz rust-b078564fe627922790917d8d8a9b28a8877a8028.zip | |
Make use generated TerminatorKind::Call have call_source Use
Diffstat (limited to 'compiler/rustc_middle/src')
| -rw-r--r-- | compiler/rustc_middle/src/mir/syntax.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/mir/syntax.rs b/compiler/rustc_middle/src/mir/syntax.rs index 707c8d04d55..ff9d32ebb71 100644 --- a/compiler/rustc_middle/src/mir/syntax.rs +++ b/compiler/rustc_middle/src/mir/syntax.rs @@ -652,6 +652,8 @@ pub enum CallSource { /// Other types of desugaring that did not come from the HIR, but we don't care about /// for diagnostics (yet). Misc, + /// Use of value, generating a clone function call + Use, /// Normal function call, no special source Normal, } |
