fork/rust

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

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

master
532 B18 linesraw
1error: invalid `struct` delimiters or `fn` call arguments
2  --> $DIR/issue-111416.rs:2:14
3   |
4LL |     let my = monad_bind(mx, T: Try);
5   |              ^^^^^^^^^^^^^^^^^^^^^^
6   |
7help: if `monad_bind` is a struct, use braces as delimiters
8   |
9LL |     let my = monad_bind { mx, T: Try };
10   |                         ~            ~
11help: if `monad_bind` is a function, use the arguments directly
12   |
13LL -     let my = monad_bind(mx, T: Try);
14LL +     let my = monad_bind(mx, Try);
15   |
16
17error: aborting due to previous error
18