about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorkyren <kerriganw@gmail.com>2019-03-10 22:18:38 -0400
committerkyren <kerriganw@gmail.com>2019-03-10 23:01:30 -0400
commit8b1742ea6a8a560736a7656db1456f69c00c0704 (patch)
treeda256bd007e0c754aa88bfdbc545e8ef44e2306b /src/test/incremental/thinlto
parent9d71ec1358ac063fe6ff1eaed0ba6ed3cedde610 (diff)
downloadrust-8b1742ea6a8a560736a7656db1456f69c00c0704.tar.gz
rust-8b1742ea6a8a560736a7656db1456f69c00c0704.zip
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