diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/associated-inherent-types/style.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/associated-inherent-types/style.stderr b/tests/ui/associated-inherent-types/style.stderr new file mode 100644 index 000000000..f83061f8c --- /dev/null +++ b/tests/ui/associated-inherent-types/style.stderr @@ -0,0 +1,14 @@ +error: associated type `typ` should have an upper camel case name + --> $DIR/style.rs:8:10 + | +LL | type typ = (); + | ^^^ help: convert the identifier to upper camel case: `Typ` + | +note: the lint level is defined here + --> $DIR/style.rs:3:9 + | +LL | #![deny(non_camel_case_types)] + | ^^^^^^^^^^^^^^^^^^^^ + +error: aborting due to previous error + |