fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0015]: cannot call non-const operator in constant functions 2 --> $DIR/issue-90870.rs:8:5 3 | 4LL | a == b 5 | ^^^^^^ 6 | 7 = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants 8 = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable 9help: consider dereferencing here 10 | 11LL | *a == *b 12 | + + 13 14error[E0015]: cannot call non-const operator in constant functions 15 --> $DIR/issue-90870.rs:15:5 16 | 17LL | a == b 18 | ^^^^^^ 19 | 20 = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants 21 = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable 22help: consider dereferencing here 23 | 24LL | ****a == ****b 25 | ++++ ++++ 26 27error[E0015]: cannot call non-const operator in constant functions 28 --> $DIR/issue-90870.rs:23:12 29 | 30LL | if l == r { 31 | ^^^^^^ 32 | 33 = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants 34 = help: add `#![feature(const_trait_impl)]` to the crate attributes to enable 35help: consider dereferencing here 36 | 37LL | if *l == *r { 38 | + + 39 40error: aborting due to 3 previous errors 41 42For more information about this error, try `rustc --explain E0015`.