From 391ebc1339b8925c236e6934d46fcea985b2cf9f Mon Sep 17 00:00:00 2001 From: Fabian Drinck Date: Sun, 10 Jun 2018 16:27:22 +0200 Subject: [PATCH] Fix compile error --- src/librustc_driver/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_driver/test.rs b/src/librustc_driver/test.rs index 206e58b3e2e..d8894722519 100644 --- a/src/librustc_driver/test.rs +++ b/src/librustc_driver/test.rs @@ -183,7 +183,7 @@ fn test_env_with_pool( }); } -const D1: ty::DebruijnIndex = ty::DebruijnIndex::INNERMOST; +const D1: ty::DebruijnIndex = ty::INNERMOST; const D2: ty::DebruijnIndex = D1.shifted_in(1); impl<'a, 'gcx, 'tcx> Env<'a, 'gcx, 'tcx> {