about summary refs log tree commit diff
path: root/tests/ui/parser
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-03-05 18:23:01 +0000
committerMichael Goulet <michael@errs.io>2024-03-08 20:56:25 +0000
commitc63f3feb0fcde0d59004f30ab8f8d2f38da74754 (patch)
tree19efd92b3e468d6e8daad87148b01e1fbda09430 /tests/ui/parser
parenta655e648a9f94d74263108366b83e677af56e35d (diff)
downloadrust-c63f3feb0fcde0d59004f30ab8f8d2f38da74754.tar.gz
rust-c63f3feb0fcde0d59004f30ab8f8d2f38da74754.zip
Stabilize associated type bounds
Diffstat (limited to 'tests/ui/parser')
-rw-r--r--tests/ui/parser/constraints-before-generic-args-syntactic-pass.rs4
-rw-r--r--tests/ui/parser/constraints-before-generic-args-syntactic-pass.stderr26
2 files changed, 0 insertions, 30 deletions
diff --git a/tests/ui/parser/constraints-before-generic-args-syntactic-pass.rs b/tests/ui/parser/constraints-before-generic-args-syntactic-pass.rs
index 6566d8a1115..ed3ffed2f80 100644
--- a/tests/ui/parser/constraints-before-generic-args-syntactic-pass.rs
+++ b/tests/ui/parser/constraints-before-generic-args-syntactic-pass.rs
@@ -3,11 +3,7 @@
 #[cfg(FALSE)]
 fn syntax() {
     foo::<T = u8, T: Ord, String>();
-    //~^ WARN associated type bounds are unstable
-    //~| WARN unstable syntax
     foo::<T = u8, 'a, T: Ord>();
-    //~^ WARN associated type bounds are unstable
-    //~| WARN unstable syntax
 }
 
 fn main() {}
diff --git a/tests/ui/parser/constraints-before-generic-args-syntactic-pass.stderr b/tests/ui/parser/constraints-before-generic-args-syntactic-pass.stderr
deleted file mode 100644
index 393ed704b41..00000000000
--- a/tests/ui/parser/constraints-before-generic-args-syntactic-pass.stderr
+++ /dev/null
@@ -1,26 +0,0 @@
-warning: associated type bounds are unstable
-  --> $DIR/constraints-before-generic-args-syntactic-pass.rs:5:19
-   |
-LL |     foo::<T = u8, T: Ord, String>();
-   |                   ^^^^^^
-   |
-   = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
-   = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
-   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
-   = warning: unstable syntax can change at any point in the future, causing a hard error!
-   = note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
-
-warning: associated type bounds are unstable
-  --> $DIR/constraints-before-generic-args-syntactic-pass.rs:8:23
-   |
-LL |     foo::<T = u8, 'a, T: Ord>();
-   |                       ^^^^^^
-   |
-   = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
-   = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
-   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
-   = warning: unstable syntax can change at any point in the future, causing a hard error!
-   = note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
-
-warning: 2 warnings emitted
-