about summary refs log tree commit diff
path: root/tests/ui-fulldeps
diff options
context:
space:
mode:
authorKirby Linvill <kjlinvill@gmail.com>2023-11-09 20:34:30 -0700
committerKirby Linvill <kjlinvill@gmail.com>2023-11-09 20:56:40 -0700
commit2e70d95cdba8ea185c5d695c410744590785e4ac (patch)
treeafe656ec56e99a2cb3d93ebb431991c5a09165f6 /tests/ui-fulldeps
parent30d6733eb3dd4c393c517056fd3cc276b288b57f (diff)
downloadrust-2e70d95cdba8ea185c5d695c410744590785e4ac.tar.gz
rust-2e70d95cdba8ea185c5d695c410744590785e4ac.zip
Remove rich UserTypeProjection projections in SMIR
It's not clear to me (klinvill) that UserTypeProjections are produced
anymore with the removal of type ascriptions as per
https://github.com/rust-lang/rfcs/pull/3307. Furthermore, it's not clear
to me which variants of ProjectionElem could appear in such projections.
For these reasons, I'm reverting projections in UserTypeProjections to
simple strings until I can get more clarity on UserTypeProjections.
Diffstat (limited to 'tests/ui-fulldeps')
-rw-r--r--tests/ui-fulldeps/stable-mir/projections.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui-fulldeps/stable-mir/projections.rs b/tests/ui-fulldeps/stable-mir/projections.rs
index c3fbf4b6e91..9c649a2effc 100644
--- a/tests/ui-fulldeps/stable-mir/projections.rs
+++ b/tests/ui-fulldeps/stable-mir/projections.rs
@@ -152,7 +152,7 @@ fn main() {
         CRATE_NAME.to_string(),
         path.to_string(),
     ];
-    run!(args, tcx, test_projections(tcx)).unwrap();
+    run!(args, tcx, test_place_projections(tcx)).unwrap();
 }
 
 fn generate_input(path: &str) -> std::io::Result<()> {