fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: unused implementer of `Critical` that must be used 2 --> $DIR/must_use-trait.rs:33:5 3 | 4LL | get_critical(); 5 | ^^^^^^^^^^^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/must_use-trait.rs:1:9 9 | 10LL | #![deny(unused_must_use)] 11 | ^^^^^^^^^^^^^^^ 12 13error: unused boxed `Critical` trait object that must be used 14 --> $DIR/must_use-trait.rs:34:5 15 | 16LL | get_boxed_critical(); 17 | ^^^^^^^^^^^^^^^^^^^^^ 18 19error: unused boxed boxed `Critical` trait object that must be used 20 --> $DIR/must_use-trait.rs:35:5 21 | 22LL | get_nested_boxed_critical(); 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 24 25error: unused boxed `Critical` trait object in tuple element 1 that must be used 26 --> $DIR/must_use-trait.rs:37:5 27 | 28LL | get_critical_tuple(); 29 | ^^^^^^^^^^^^^^^^^^^^^ 30 31error: unused implementer of `Critical` in tuple element 2 that must be used 32 --> $DIR/must_use-trait.rs:37:5 33 | 34LL | get_critical_tuple(); 35 | ^^^^^^^^^^^^^^^^^^^^^ 36 37error: aborting due to 5 previous errors 38