diff options
| author | Eric Holk <ericholk@microsoft.com> | 2024-09-04 16:03:47 -0700 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2024-09-18 12:36:31 -0700 |
| commit | 7b7992fbcf5b8d9af945e32eac241252baa46fab (patch) | |
| tree | ba13ee2c152fc84e0c5d6822a6f7819d71512792 /compiler/rustc_span/src | |
| parent | 13b5a4e43b92cf738acad403ea56900947f9d37b (diff) | |
| download | rust-7b7992fbcf5b8d9af945e32eac241252baa46fab.tar.gz rust-7b7992fbcf5b8d9af945e32eac241252baa46fab.zip | |
Begin experimental support for pin reborrowing
This commit adds basic support for reborrowing `Pin` types in argument position. At the moment it only supports reborrowing `Pin<&mut T>` as `Pin<&mut T>` by inserting a call to `Pin::as_mut()`, and only in argument position (not as the receiver in a method call).
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index cbe2bafef21..979294563d7 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -1418,6 +1418,8 @@ symbols! { pic, pie, pin, + pin_as_mut, + pin_ergonomics, platform_intrinsics, plugin, plugin_registrar, |
