summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-inherent-types/assoc-inherent-unstable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/associated-inherent-types/assoc-inherent-unstable.rs')
-rw-r--r--tests/ui/associated-inherent-types/assoc-inherent-unstable.rs3
1 files changed, 3 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
index 34b4e47bf..152bb7a60 100644
--- a/tests/ui/associated-inherent-types/assoc-inherent-unstable.rs
+++ b/tests/ui/associated-inherent-types/assoc-inherent-unstable.rs
@@ -1,6 +1,9 @@
// aux-crate:aux=assoc-inherent-unstable.rs
// edition: 2021
+#![feature(inherent_associated_types)]
+#![allow(incomplete_features)]
+
type Data = aux::Owner::Data; //~ ERROR use of unstable library feature 'data'
fn main() {}