about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-13 03:33:46 +0100
committerGitHub <noreply@github.com>2019-03-13 03:33:46 +0100
commitc0dcfedd9f27f53dc0a85eff2df2034bf8282d9c (patch)
tree2e4eeea86bd8d75bfb10f052451b9ab6c0d861d1 /src/test/incremental/thinlto
parent13a894288f5735e58f60da40a8225f3eb4357f95 (diff)
parentaa9bd68fa8134e55ded5e65abef745f96ba0e622 (diff)
downloadrust-c0dcfedd9f27f53dc0a85eff2df2034bf8282d9c.tar.gz
rust-c0dcfedd9f27f53dc0a85eff2df2034bf8282d9c.zip
Rollup merge of #59083 - kyren:master, r=varkor
Fix #54822 and associated faulty tests

Type checking associated constants can require trait bounds, but an empty
parameter environment was provided to the trait solver.  Providing an
appropriate parameter environment seems to fix #54822 and also make one of the
cases in src/test/ui/nll/trait-associated-constant.rs that should compile
successfully do so.  It also (slightly) improves the error message in
src/test/ui/associated-const/associated-const-generic-obligations.rs
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions