diff options
Diffstat (limited to 'rust/vendor/rustversion/tests/ui/const-not-fn.stderr')
-rw-r--r-- | rust/vendor/rustversion/tests/ui/const-not-fn.stderr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/vendor/rustversion/tests/ui/const-not-fn.stderr b/rust/vendor/rustversion/tests/ui/const-not-fn.stderr new file mode 100644 index 0000000..d3cb4aa --- /dev/null +++ b/rust/vendor/rustversion/tests/ui/const-not-fn.stderr @@ -0,0 +1,5 @@ +error: only allowed on a fn item + --> tests/ui/const-not-fn.rs:1:28 + | +1 | #[rustversion::attr(all(), const)] + | ^^^^^ |