]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/constraints-before-generic-args-syntactic-pass.stderr
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / ui / parser / constraints-before-generic-args-syntactic-pass.stderr
1 warning: associated type bounds are unstable
2   --> $DIR/constraints-before-generic-args-syntactic-pass.rs:5:19
3    |
4 LL |     foo::<T = u8, T: Ord, String>();
5    |                   ^^^^^^
6    |
7    = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
8    = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
9    = warning: unstable syntax can change at any point in the future, causing a hard error!
10    = note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11
12 warning: associated type bounds are unstable
13   --> $DIR/constraints-before-generic-args-syntactic-pass.rs:8:23
14    |
15 LL |     foo::<T = u8, 'a, T: Ord>();
16    |                       ^^^^^^
17    |
18    = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
19    = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
20    = warning: unstable syntax can change at any point in the future, causing a hard error!
21    = note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
22
23 warning: 2 warnings emitted
24