Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/tests/simple.rs')
-rw-r--r--crates/hir-ty/src/tests/simple.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir-ty/src/tests/simple.rs b/crates/hir-ty/src/tests/simple.rs
index b154e59878..a995a45f6e 100644
--- a/crates/hir-ty/src/tests/simple.rs
+++ b/crates/hir-ty/src/tests/simple.rs
@@ -2923,7 +2923,7 @@ fn test {
// ^^ impl Fn()
let c4 = f1();
- // ^^ impl FnOnce() + ?Sized
+ // ^^ impl FnOnce()
f2(|| { 0 });
// ^^^^^^^^ impl FnOnce() -> i32
@@ -3922,7 +3922,7 @@ fn foo<T: Bar>() {
expect![[r#"
110..127 '{ ...z(); }': ()
116..122 'T::baz': fn baz<T>() -> <{unknown} as Foo>::Gat<'?>
- 116..124 'T::baz()': Foo::Gat<'?, {unknown}>
+ 116..124 'T::baz()': {unknown}
"#]],
);
}