about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2021-08-26 21:12:02 +0200
committerlcnr <rust@lcnr.de>2021-08-30 11:00:21 +0200
commit4747cbb3bbb1dd7a9f8a5bdb2eee073f8e4c43ef (patch)
tree613a2fd8b0bbff7d864d067a07d95244ee600965 /src/test
parent0c28e028b6f45f33447f24de7dd762b8599b7a4e (diff)
downloadrust-4747cbb3bbb1dd7a9f8a5bdb2eee073f8e4c43ef.tar.gz
rust-4747cbb3bbb1dd7a9f8a5bdb2eee073f8e4c43ef.zip
allow unordered const/ty params if any cg feature is active
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/const-generics/params-in-ct-in-ty-param-lazy-norm.full.stderr2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/ui/const-generics/params-in-ct-in-ty-param-lazy-norm.full.stderr b/src/test/ui/const-generics/params-in-ct-in-ty-param-lazy-norm.full.stderr
index e8fd9e7769b..9f0b2efae96 100644
--- a/src/test/ui/const-generics/params-in-ct-in-ty-param-lazy-norm.full.stderr
+++ b/src/test/ui/const-generics/params-in-ct-in-ty-param-lazy-norm.full.stderr
@@ -3,8 +3,6 @@ error: generic parameters with a default must be trailing
    |
 LL | struct Bar<T = [u8; N], const N: usize>(T);
    |            ^
-   |
-   = note: using type defaults and const parameters in the same parameter list is currently not permitted
 
 error[E0128]: generic parameters with a default cannot use forward declared identifiers
   --> $DIR/params-in-ct-in-ty-param-lazy-norm.rs:8:21