]> git.lizzy.rs Git - rust.git/commit
correctly handle const params in type_of
authorBastian Kauschke <bastian_kauschke@hotmail.de>
Sun, 22 Mar 2020 21:29:54 +0000 (22:29 +0100)
committerBastian Kauschke <bastian_kauschke@hotmail.de>
Sun, 22 Mar 2020 21:29:54 +0000 (22:29 +0100)
commit645fedd183a341b5ab5553d4d35ce9140276371f
tree2a57a4c373b843a84a6e9bb5e2c2950d51730371
parent1902d1e0de179498d0cb7fd4856d1e0ffcd52095
correctly handle const params in type_of
src/librustc_hir/def.rs
src/librustc_typeck/collect/type_of.rs
src/librustc_typeck/lib.rs
src/test/ui/const-generics/issues/issue70273-assoc-fn.rs [new file with mode: 0644]
src/test/ui/const-generics/issues/issue70273-assoc-fn.stderr [new file with mode: 0644]
src/test/ui/const-generics/type_of_anon_const.rs [new file with mode: 0644]
src/test/ui/const-generics/type_of_anon_const.stderr [new file with mode: 0644]