<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc-ui/impl-fn-nesting.stderr, branch 1.63.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.63.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.63.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-07-15T14:54:06+00:00</updated>
<entry>
<title>Catch errors for any new item, not just trait implementations</title>
<updated>2020-07-15T14:54:06+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jyn514@gmail.com</email>
</author>
<published>2020-07-15T01:14:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e117b47f759e93679192256043db67f8f8a68675'/>
<id>urn:sha1:e117b47f759e93679192256043db67f8f8a68675</id>
<content type='text'>
This matches the previous behavior of everybody_loops and is also more
consistent than special-casing impls.
</content>
</entry>
<entry>
<title>Add an option not to report resolution errors for rustdoc</title>
<updated>2020-07-15T14:54:05+00:00</updated>
<author>
<name>Joshua Nelson</name>
<email>jyn514@gmail.com</email>
</author>
<published>2020-06-20T21:01:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1b8accb7497e6fe66be331e40f8663d198a6b648'/>
<id>urn:sha1:1b8accb7497e6fe66be331e40f8663d198a6b648</id>
<content type='text'>
- Remove unnecessary `should_loop` variable
- Report errors for trait implementations

These should give resolution errors because they are visible outside the
current scope. Without these errors, rustdoc will give ICEs:

```
thread 'rustc' panicked at 'attempted .def_id() on invalid res: Err', /home/joshua/src/rust/src/libstd/macros.rs:16:9
  15: rustc_hir::def::Res&lt;Id&gt;::def_id
             at /home/joshua/src/rust/src/librustc_hir/def.rs:382
  16: rustdoc::clean::utils::register_res
             at src/librustdoc/clean/utils.rs:627
  17: rustdoc::clean::utils::resolve_type
             at src/librustdoc/clean/utils.rs:587
```

- Add much more extensive tests
  + fn -&gt; impl -&gt; fn
  + fn -&gt; impl -&gt; fn -&gt; macro
  + errors in function parameters
  + errors in trait bounds
  + errors in the type implementing the trait
  + unknown bounds for the type
  + unknown types in function bodies
  + errors generated by macros

- Use explicit state instead of trying to reconstruct it from random info
- Use an enum instead of a boolean
- Add example of ignored error
</content>
</entry>
</feed>
