1 error[E0015]: cannot call non-const operator in constant functions
2 --> $DIR/issue-90870.rs:8:5
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
9 help: consider dereferencing here
14 error[E0015]: cannot call non-const operator in constant functions
15 --> $DIR/issue-90870.rs:15:5
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
22 help: consider dereferencing here
27 error[E0015]: cannot call non-const operator in constant functions
28 --> $DIR/issue-90870.rs:23:12
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
35 help: consider dereferencing here
40 error: aborting due to 3 previous errors
42 For more information about this error, try `rustc --explain E0015`.