]> git.proxmox.com Git - rustc.git/blobdiff - tests/rustdoc-js/generics-trait.js
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / rustdoc-js / generics-trait.js
index 4ccfb8f4e4d025fd88aa774c494d137549372c9b..a71393b5e0502d14dcffbca86da9012e1b735af5 100644 (file)
@@ -12,11 +12,15 @@ const EXPECTED = [
         ],
     },
     {
-        'query': 'Result<SomeTraiz>',
-        'correction': null,
+        'query': 'Resulx<SomeTrait>',
         'in_args': [],
         'returned': [],
     },
+    {
+        'query': 'Result<SomeTraiz>',
+        'proposeCorrectionFrom': 'SomeTraiz',
+        'proposeCorrectionTo': 'SomeTrait',
+    },
     {
         'query': 'OtherThingxxxxxxxx',
         'correction': null,