diff options
Diffstat (limited to 'tests/ui/error-codes/E0438.rs')
-rw-r--r-- | tests/ui/error-codes/E0438.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0438.rs b/tests/ui/error-codes/E0438.rs new file mode 100644 index 000000000..02898b886 --- /dev/null +++ b/tests/ui/error-codes/E0438.rs @@ -0,0 +1,8 @@ +trait Bar {} + +impl Bar for i32 { + const BAR: bool = true; //~ ERROR E0438 +} + +fn main () { +} |