2018-06-02 23:38:57 +02:00
|
|
|
warning: this expression will panic at runtime
|
2018-05-11 14:33:37 +02:00
|
|
|
--> $DIR/issue-44578.rs:36:20
|
2018-04-08 22:26:28 +02:00
|
|
|
|
|
|
|
|
LL | println!("{}", <Bar<u16, u8> as Foo>::AMT); //~ WARN const_err
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors
|
|
|
|
|
|
2018-05-11 14:33:37 +02:00
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/issue-44578.rs:12:9
|
|
|
|
|
|
|
|
|
LL | #![warn(const_err)]
|
|
|
|
| ^^^^^^^^^
|
2018-04-08 22:26:28 +02:00
|
|
|
|
2018-06-02 23:38:57 +02:00
|
|
|
warning: this expression will panic at runtime
|
2018-05-11 14:33:37 +02:00
|
|
|
--> $DIR/issue-44578.rs:36:20
|
2018-04-08 22:26:28 +02:00
|
|
|
|
|
|
|
|
LL | println!("{}", <Bar<u16, u8> as Foo>::AMT); //~ WARN const_err
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors
|
|
|
|
|