fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.1 KiB24 linesraw
1warning: associated type bounds are unstable
2  --> $DIR/constraints-before-generic-args-syntactic-pass.rs:5:19
3   |
4LL |     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
12warning: associated type bounds are unstable
13  --> $DIR/constraints-before-generic-args-syntactic-pass.rs:8:23
14   |
15LL |     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
23warning: 2 warnings emitted
24