about summary refs log tree commit diff
path: root/tests/ui/parser/constraints-before-generic-args-syntactic-pass.stderr
blob: 393ed704b4197f13a33c4309b5cc6236c65d4db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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