Consistent trait bounds for ExtractIf Debug impls by dtolnay · Pull Request #139764 · rust-lang/rust (original) (raw)
rustdoc-js-std
test failed in rollup: #140674 (comment)
Testing parser-weird-queries.js ... OK
Testing path-end-empty.js ... OK
Testing path-maxeditdistance.js ... FAILED
[ query `vec::iter`]==> Exact check failed at position 3: expected '{"path":"std::vec::Drain","name":"into_iter"}' but found '{"parent":{"ty":5,"name":"ExtractIf","path":"std::vec","exactPath":"alloc::vec::extract_if","unboxFlag":false},"type":{"inputs":[],"output":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"where_clause":[[]]},"dist":2,"path_dist":0,"index":4,"desc":"","item":{"crate":"std","ty":13,"name":"into_iter","path":"std::vec","descShard":{"crate":"std","shard":4,"start":9127,"len":1625,"promise":{}},"descIndex":1588,"exactPath":"alloc::vec::extract_if","parent":{"ty":5,"name":"ExtractIf","path":"std::vec","exactPath":"alloc::vec::extract_if","unboxFlag":false},"type":{"inputs":[],"output":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"where_clause":[[]]},"paramNames":["I"],"id":73052,"word":"into_iter","normalizedName":"intoiter","bitIndex":25520,"implDisambiguator":null},"displayPath":"<span>std::</span><span>vec::</span><span>ExtractIf::</span>","fullPath":"alloc::vec::extract_if::ExtractIf::into_iter|13","href":"../std/vec/struct.ExtractIf.html#method.into_iter","displayTypeSignature":null,"crate":"std","ty":13,"name":"into_iter","path":"std::vec","descShard":{"crate":"std","shard":4,"start":9127,"len":1625,"promise":{}},"descIndex":1588,"exactPath":"alloc::vec::extract_if","paramNames":["I"],"id":73052,"word":"into_iter","normalizedName":"intoiter","bitIndex":25520,"implDisambiguator":null}'
[ query `vec::iter`]==> Exact check failed at position 3: expected '{"path":"std::vec::IntoIter","name":"into_iter"}' but found '{"parent":{"ty":5,"name":"Drain","path":"std::vec","exactPath":"alloc::vec::drain","unboxFlag":false},"type":{"inputs":[],"output":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"where_clause":[[]]},"dist":2,"path_dist":0,"index":4,"desc":"","item":{"crate":"std","ty":13,"name":"into_iter","path":"std::vec","descShard":{"crate":"std","shard":4,"start":9127,"len":1625,"promise":{}},"descIndex":1588,"exactPath":"alloc::vec::drain","parent":{"ty":5,"name":"Drain","path":"std::vec","exactPath":"alloc::vec::drain","unboxFlag":false},"type":{"inputs":[],"output":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"where_clause":[[]]},"paramNames":["I"],"id":73053,"word":"into_iter","normalizedName":"intoiter","bitIndex":25521,"implDisambiguator":null},"displayPath":"<span>std::</span><span>vec::</span><span>Drain::</span>","fullPath":"alloc::vec::drain::Drain::into_iter|13","href":"../std/vec/struct.Drain.html#method.into_iter","displayTypeSignature":null,"crate":"std","ty":13,"name":"into_iter","path":"std::vec","descShard":{"crate":"std","shard":4,"start":9127,"len":1625,"promise":{}},"descIndex":1588,"exactPath":"alloc::vec::drain","paramNames":["I"],"id":73053,"word":"into_iter","normalizedName":"intoiter","bitIndex":25521,"implDisambiguator":null}'
[ query `vec::iter`]==> Exact check failed at position 4: expected '{"path":"std::vec::Splice","name":"into_iter"}' but found '{"parent":{"ty":5,"name":"Splice","path":"std::vec","exactPath":"alloc::vec::splice","unboxFlag":false},"type":{"inputs":[],"output":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"where_clause":[[]]},"dist":2,"path_dist":0,"index":4,"desc":"","item":{"crate":"std","ty":13,"name":"into_iter","path":"std::vec","descShard":{"crate":"std","shard":4,"start":9127,"len":1625,"promise":{}},"descIndex":1589,"exactPath":"alloc::vec::splice","parent":{"ty":5,"name":"Splice","path":"std::vec","exactPath":"alloc::vec::splice","unboxFlag":false},"type":{"inputs":[],"output":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"where_clause":[[]]},"paramNames":["I"],"id":73058,"word":"into_iter","normalizedName":"intoiter","bitIndex":25526,"implDisambiguator":null},"displayPath":"<span>std::</span><span>vec::</span><span>Splice::</span>","fullPath":"alloc::vec::splice::Splice::into_iter|13","href":"../std/vec/struct.Splice.html#method.into_iter","displayTypeSignature":null,"crate":"std","ty":13,"name":"into_iter","path":"std::vec","descShard":{"crate":"std","shard":4,"start":9127,"len":1625,"promise":{}},"descIndex":1589,"exactPath":"alloc::vec::splice","paramNames":["I"],"id":73058,"word":"into_iter","normalizedName":"intoiter","bitIndex":25526,"implDisambiguator":null}'
[ query `vec::iter`]==> Exact check failed at position 4: expected '{"path":"std::collections::VecDeque","name":"iter"}' but found '{"parent":{"ty":5,"name":"VecDeque","path":"std::collections","exactPath":"alloc::collections::vec_deque","unboxFlag":false},"type":{"inputs":[{"id":11,"name":"reference","ty":1,"path":null,"exactPath":null,"generics":[{"id":132,"name":"VecDeque","ty":5,"path":"std::collections","exactPath":"alloc::collections::vec_deque","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true},{"id":-2,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"bindings":{},"unboxFlag":true}],"output":[{"id":67,"name":"Iter","ty":5,"path":"std::collections::vec_deque","exactPath":"alloc::collections::vec_deque::iter","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"where_clause":[[],[{"id":18,"name":"Allocator","ty":10,"path":"std::alloc","exactPath":"core::alloc","generics":[],"bindings":{},"unboxFlag":false}]]},"dist":0,"path_dist":1,"index":0,"desc":"Returns a front-to-back iterator.","item":{"crate":"std","ty":13,"name":"iter","path":"std::collections","descShard":{"crate":"std","shard":1,"start":2110,"len":2423,"promise":{}},"descIndex":1530,"exactPath":"alloc::collections::vec_deque","parent":{"ty":5,"name":"VecDeque","path":"std::collections","exactPath":"alloc::collections::vec_deque","unboxFlag":false},"type":{"inputs":[{"id":11,"name":"reference","ty":1,"path":null,"exactPath":null,"generics":[{"id":132,"name":"VecDeque","ty":5,"path":"std::collections","exactPath":"alloc::collections::vec_deque","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true},{"id":-2,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"bindings":{},"unboxFlag":true}],"output":[{"id":67,"name":"Iter","ty":5,"path":"std::collections::vec_deque","exactPath":"alloc::collections::vec_deque::iter","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"where_clause":[[],[{"id":18,"name":"Allocator","ty":10,"path":"std::alloc","exactPath":"core::alloc","generics":[],"bindings":{},"unboxFlag":false}]]},"paramNames":["T","A"],"id":55732,"word":"iter","normalizedName":"iter","bitIndex":8200,"implDisambiguator":null},"displayPath":"<span>std::</span><span>collections::</span><span>VecDeque::</span>","fullPath":"alloc::collections::vec_deque::VecDeque::iter|13","href":"../std/collections/struct.VecDeque.html#method.iter","displayTypeSignature":null,"crate":"std","ty":13,"name":"iter","path":"std::collections","descShard":{"crate":"std","shard":1,"start":2110,"len":2423,"promise":{}},"descIndex":1530,"exactPath":"alloc::collections::vec_deque","paramNames":["T","A"],"id":55732,"word":"iter","normalizedName":"iter","bitIndex":8200,"implDisambiguator":null}'
[ query `vec::iter`]==> Exact check failed at position 4: expected '{"path":"std::collections::VecDeque","name":"iter_mut"}' but found '{"parent":{"ty":5,"name":"VecDeque","path":"std::collections","exactPath":"alloc::collections::vec_deque","unboxFlag":false},"type":{"inputs":[{"id":11,"name":"reference","ty":1,"path":null,"exactPath":null,"generics":[{"id":22,"name":"mut","ty":0,"path":"std","exactPath":"std","generics":[],"bindings":{},"unboxFlag":false},{"id":132,"name":"VecDeque","ty":5,"path":"std::collections","exactPath":"alloc::collections::vec_deque","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true},{"id":-2,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"bindings":{},"unboxFlag":true}],"output":[{"id":66,"name":"IterMut","ty":5,"path":"std::collections::vec_deque","exactPath":"alloc::collections::vec_deque::iter_mut","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"where_clause":[[],[{"id":18,"name":"Allocator","ty":10,"path":"std::alloc","exactPath":"core::alloc","generics":[],"bindings":{},"unboxFlag":false}]]},"dist":2,"path_dist":1,"index":0,"desc":"Returns a front-to-back iterator that returns mutable …","item":{"crate":"std","ty":13,"name":"iter_mut","path":"std::collections","descShard":{"crate":"std","shard":1,"start":2110,"len":2423,"promise":{}},"descIndex":1534,"exactPath":"alloc::collections::vec_deque","parent":{"ty":5,"name":"VecDeque","path":"std::collections","exactPath":"alloc::collections::vec_deque","unboxFlag":false},"type":{"inputs":[{"id":11,"name":"reference","ty":1,"path":null,"exactPath":null,"generics":[{"id":22,"name":"mut","ty":0,"path":"std","exactPath":"std","generics":[],"bindings":{},"unboxFlag":false},{"id":132,"name":"VecDeque","ty":5,"path":"std::collections","exactPath":"alloc::collections::vec_deque","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true},{"id":-2,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"bindings":{},"unboxFlag":true}],"output":[{"id":66,"name":"IterMut","ty":5,"path":"std::collections::vec_deque","exactPath":"alloc::collections::vec_deque::iter_mut","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"where_clause":[[],[{"id":18,"name":"Allocator","ty":10,"path":"std::alloc","exactPath":"core::alloc","generics":[],"bindings":{},"unboxFlag":false}]]},"paramNames":["T","A"],"id":55736,"word":"iter_mut","normalizedName":"itermut","bitIndex":8204,"implDisambiguator":null},"displayPath":"<span>std::</span><span>collections::</span><span>VecDeque::</span>","fullPath":"alloc::collections::vec_deque::VecDeque::iter_mut|13","href":"../std/collections/struct.VecDeque.html#method.iter_mut","displayTypeSignature":null,"crate":"std","ty":13,"name":"iter_mut","path":"std::collections","descShard":{"crate":"std","shard":1,"start":2110,"len":2423,"promise":{}},"descIndex":1534,"exactPath":"alloc::collections::vec_deque","paramNames":["T","A"],"id":55736,"word":"iter_mut","normalizedName":"itermut","bitIndex":8204,"implDisambiguator":null}'
[ query `vec::iter`]==> Exact check failed at position 4: expected '{"path":"std::collections::VecDeque","name":"from_iter"}' but found '{"parent":{"ty":5,"name":"VecDeque","path":"std::collections","exactPath":"alloc::collections::vec_deque","unboxFlag":false},"type":{"inputs":[{"id":-2,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"output":[{"id":132,"name":"VecDeque","ty":5,"path":"std::collections","exactPath":"alloc::collections::vec_deque","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"where_clause":[[],[{"id":50,"name":"IntoIterator","ty":10,"path":"std::iter","exactPath":"core::iter::traits::collect","generics":[],"bindings":{},"unboxFlag":false}]]},"dist":2,"path_dist":1,"index":4,"desc":"","item":{"crate":"std","ty":13,"name":"from_iter","path":"std::collections","descShard":{"crate":"std","shard":1,"start":2110,"len":2423,"promise":{}},"descIndex":1455,"exactPath":"alloc::collections::vec_deque","parent":{"ty":5,"name":"VecDeque","path":"std::collections","exactPath":"alloc::collections::vec_deque","unboxFlag":false},"type":{"inputs":[{"id":-2,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"output":[{"id":132,"name":"VecDeque","ty":5,"path":"std::collections","exactPath":"alloc::collections::vec_deque","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"where_clause":[[],[{"id":50,"name":"IntoIterator","ty":10,"path":"std::iter","exactPath":"core::iter::traits::collect","generics":[],"bindings":{},"unboxFlag":false}]]},"paramNames":["T","I"],"id":55638,"word":"from_iter","normalizedName":"fromiter","bitIndex":8106,"implDisambiguator":null},"displayPath":"<span>std::</span><span>collections::</span><span>VecDeque::</span>","fullPath":"alloc::collections::vec_deque::VecDeque::from_iter|13","href":"../std/collections/struct.VecDeque.html#method.from_iter","displayTypeSignature":null,"crate":"std","ty":13,"name":"from_iter","path":"std::collections","descShard":{"crate":"std","shard":1,"start":2110,"len":2423,"promise":{}},"descIndex":1455,"exactPath":"alloc::collections::vec_deque","paramNames":["T","I"],"id":55638,"word":"from_iter","normalizedName":"fromiter","bitIndex":8106,"implDisambiguator":null}'
[ query `vec::iter`]==> Exact check failed at position 4: expected '{"path":"std::collections::VecDeque","name":"into_iter"}' but found '{"parent":{"ty":5,"name":"VecDeque","path":"std::collections","exactPath":"alloc::collections::vec_deque","unboxFlag":false},"type":{"inputs":[{"id":132,"name":"VecDeque","ty":5,"path":"std::collections","exactPath":"alloc::collections::vec_deque","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true},{"id":-2,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"output":[{"id":65,"name":"IntoIter","ty":5,"path":"std::collections::vec_deque","exactPath":"alloc::collections::vec_deque::into_iter","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true},{"id":-2,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"where_clause":[[],[{"id":18,"name":"Allocator","ty":10,"path":"std::alloc","exactPath":"core::alloc","generics":[],"bindings":{},"unboxFlag":false}]]},"dist":2,"path_dist":1,"index":4,"desc":"Consumes the deque into a front-to-back iterator yielding …","item":{"crate":"std","ty":13,"name":"into_iter","path":"std::collections","descShard":{"crate":"std","shard":1,"start":2110,"len":2423,"promise":{}},"descIndex":1503,"exactPath":"alloc::collections::vec_deque","parent":{"ty":5,"name":"VecDeque","path":"std::collections","exactPath":"alloc::collections::vec_deque","unboxFlag":false},"type":{"inputs":[{"id":132,"name":"VecDeque","ty":5,"path":"std::collections","exactPath":"alloc::collections::vec_deque","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true},{"id":-2,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"output":[{"id":65,"name":"IntoIter","ty":5,"path":"std::collections::vec_deque","exactPath":"alloc::collections::vec_deque::into_iter","generics":[{"id":-1,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true},{"id":-2,"name":"","ty":26,"path":null,"exactPath":null,"generics":[],"bindings":{},"unboxFlag":true}],"bindings":{},"unboxFlag":false}],"where_clause":[[],[{"id":18,"name":"Allocator","ty":10,"path":"std::alloc","exactPath":"core::alloc","generics":[],"bindings":{},"unboxFlag":false}]]},"paramNames":["T","A"],"id":55703,"word":"into_iter","normalizedName":"intoiter","bitIndex":8171,"implDisambiguator":"impl-IntoIterator-for-VecDeque%3CT,+A%3E"},"displayPath":"<span>std::</span><span>collections::</span><span>VecDeque::</span>","fullPath":"alloc::collections::vec_deque::VecDeque::into_iter|13","href":"../std/collections/struct.VecDeque.html#impl-IntoIterator-for-VecDeque%3CT,+A%3E/method.into_iter","displayTypeSignature":null,"crate":"std","ty":13,"name":"into_iter","path":"std::collections","descShard":{"crate":"std","shard":1,"start":2110,"len":2423,"promise":{}},"descIndex":1503,"exactPath":"alloc::collections::vec_deque","paramNames":["T","A"],"id":55703,"word":"into_iter","normalizedName":"intoiter","bitIndex":8171,"implDisambiguator":"impl-IntoIterator-for-VecDeque%3CT,+A%3E"}'
Testing path-ordering.js ... OK
@bors r-