File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
stackable-versioned-macros/src/codegen Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ impl VersionedEnum {
150
150
#[ automatically_derived]
151
151
#deprecated_attr
152
152
#visibility mod #version_ident {
153
+ use super :: * ;
154
+
153
155
#( #original_attributes) *
154
156
#version_specific_docs
155
157
pub enum #enum_name {
Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ impl VersionedStruct {
150
150
#[ automatically_derived]
151
151
#deprecated_attr
152
152
#visibility mod #version_ident {
153
+ use super :: * ;
154
+
153
155
#( #original_attributes) *
154
156
#version_specific_docs
155
157
pub struct #struct_name {
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ All notable changes to this project will be documented in this file.
10
10
- Pass through container and item attributes (including doc-comments). Add
11
11
attribute for version specific docs ([ #847 ] ).
12
12
- Forward container visibility to generated modules ([ #850 ] ).
13
+ - Add ` use super::* ` to version modules to be able to use imported types
14
+ ([ #xxx] ).
13
15
14
16
### Changed
15
17
@@ -19,12 +21,13 @@ All notable changes to this project will be documented in this file.
19
21
### Fixed
20
22
21
23
- Report variant rename validation error at the correct span and trim underscores
22
- from variants not using PascalCase (# [ 842] ).
24
+ from variants not using PascalCase ([ # 842 ] ).
23
25
24
26
[ #842 ] : https://github.com/stackabletech/operator-rs/pull/842
25
27
[ #844 ] : https://github.com/stackabletech/operator-rs/pull/844
26
28
[ #847 ] : https://github.com/stackabletech/operator-rs/pull/847
27
29
[ #850 ] : https://github.com/stackabletech/operator-rs/pull/850
30
+ [ #xxx ] : https://github.com/stackabletech/operator-rs/pull/xxx
28
31
29
32
## [ 0.1.1] - 2024-07-10
30
33
You can’t perform that action at this time.
0 commit comments