diff options
Diffstat (limited to 'src/test/ui/associated-inherent-types/assoc-inherent-unstable.rs')
-rw-r--r-- | src/test/ui/associated-inherent-types/assoc-inherent-unstable.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/associated-inherent-types/assoc-inherent-unstable.rs b/src/test/ui/associated-inherent-types/assoc-inherent-unstable.rs new file mode 100644 index 000000000..34b4e47bf --- /dev/null +++ b/src/test/ui/associated-inherent-types/assoc-inherent-unstable.rs @@ -0,0 +1,6 @@ +// aux-crate:aux=assoc-inherent-unstable.rs +// edition: 2021 + +type Data = aux::Owner::Data; //~ ERROR use of unstable library feature 'data' + +fn main() {} |