summaryrefslogtreecommitdiffstats
path: root/src/test/ui/attributes/attrs-on-params.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/attributes/attrs-on-params.stderr')
-rw-r--r--src/test/ui/attributes/attrs-on-params.stderr17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/attributes/attrs-on-params.stderr b/src/test/ui/attributes/attrs-on-params.stderr
deleted file mode 100644
index 306e862cb..000000000
--- a/src/test/ui/attributes/attrs-on-params.stderr
+++ /dev/null
@@ -1,17 +0,0 @@
-error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters
- --> $DIR/attrs-on-params.rs:3:13
- |
-LL | fn function(#[inline] param: u32) {
- | ^^^^^^^^^
-
-error[E0518]: attribute should be applied to function or closure
- --> $DIR/attrs-on-params.rs:3:13
- |
-LL | fn function(#[inline] param: u32) {
- | ^^^^^^^^^-----------
- | |
- | not a function or closure
-
-error: aborting due to 2 previous errors
-
-For more information about this error, try `rustc --explain E0518`.