about summary refs log tree commit diff
path: root/src/test/ui/const-generics/early/const-param-shadowing.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/const-generics/early/const-param-shadowing.stderr')
-rw-r--r--src/test/ui/const-generics/early/const-param-shadowing.stderr14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/const-generics/early/const-param-shadowing.stderr b/src/test/ui/const-generics/early/const-param-shadowing.stderr
deleted file mode 100644
index 625338bd9b4..00000000000
--- a/src/test/ui/const-generics/early/const-param-shadowing.stderr
+++ /dev/null
@@ -1,14 +0,0 @@
-error[E0747]: type provided when a constant was expected
-  --> $DIR/const-param-shadowing.rs:3:34
-   |
-LL | fn test<const N: usize>() -> Foo<N> {
-   |                                  ^
-   |
-help: if this generic argument was intended as a const parameter, surround it with braces
-   |
-LL | fn test<const N: usize>() -> Foo<{ N }> {
-   |                                  +   +
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0747`.