about summary refs log tree commit diff
path: root/src/test/ui/associated-const
AgeCommit message (Collapse)AuthorLines
2019-03-23Tweak spans for E0599Esteban Küber-3/+1
2019-03-13Rollup merge of #59083 - kyren:master, r=varkorMazdak Farrokhzad-6/+31
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
2019-03-11Update testsVadim Petrochenkov-1/+1
2019-03-10Fix #54822 and associated faulty testskyren-6/+31
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
2019-01-08improve non_upper_case_globals diagnosticsAndy Russell-25/+0
Use a structured suggestion and tighten the span to just the identifier.
2018-12-26Fixed more tests.Alexander Regueiro-2/+4
2018-12-25Remove licensesMark Rousskov-163/+23
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+529