diff options
Diffstat (limited to 'tests/ui/associated-inherent-types/assoc-inherent-unstable.rs')
-rw-r--r-- | tests/ui/associated-inherent-types/assoc-inherent-unstable.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/associated-inherent-types/assoc-inherent-unstable.rs b/tests/ui/associated-inherent-types/assoc-inherent-unstable.rs new file mode 100644 index 000000000..34b4e47bf --- /dev/null +++ b/tests/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() {} |