about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-01-14 14:02:23 +0900
committerGitHub <noreply@github.com>2020-01-14 14:02:23 +0900
commitd7e599203c3d3abbc3be486792a76cb89d3fa067 (patch)
tree897b1ec459167b5022011e2ce5cfeaf3bedc7255 /src/test/debuginfo/enum-thinlto.rs
parent7da1dcc3e0eee606b61ac7f7039b39b3332dfb6f (diff)
parent82b90bd9938fb56452b8a10bd004ad84a0f81503 (diff)
downloadrust-d7e599203c3d3abbc3be486792a76cb89d3fa067.tar.gz
rust-d7e599203c3d3abbc3be486792a76cb89d3fa067.zip
Rollup merge of #68143 - skinny121:const-param-type-elided-lifetime, r=petrochenkov
Forbid elided lifetimes within const generic parameter types

Disallows `fn foo<const T: &u32>()`, the lifetime must be explicitly given, i.e. `fn foo<const T: &'static u32>()`.

Fixes #67883
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions