Comments (2)
rustdoc does support it albeit behind a nightly-only unstable CLI option only.
If you document your crate with RUSTDOCFLAGS='-Znormalize-docs' cargo +nightly doc
(sh),
<[u8; N] as TryFrom<&'a [u8]>>::Error
does get normalized to TryFromSliceError
.
I think the plan was to normalize types by default but that lead to a whole slew of regressions — build errors — like #79459, necessitating a revert.
I haven't looked for a tracking issue for -Znormalize-docs
yet but if there is one, your issue is a duplicate of it.
from rust.
Closing as dupe of #82692.
from rust.
Related Issues (20)
- compiler bug: cannot handle indexed declaration in compound datatype HOT 2
- Decide on guarantees for evaluation of associated consts and const blocks HOT 6
- ICE: `unexpected region for note_and_explain_region: '?9` HOT 1
- None-delimited groups do not work as advertised HOT 3
- The introduction of a locally known loop breaks manual assertions
- error: could not compile `smoldot` (lib) HOT 9
- Regression in required trait bounds in Rust 1.78.0 HOT 9
- Macro `literal` fragment specifiers should forward to exact tokens HOT 3
- Panics don't lock stderr while printing panic info HOT 3
- Better test coverage for `AggregateKind::RawPtr` HOT 1
- ICE: `invalid format num` when println! with multiple unused formatting arguments(format_args_implicits) HOT 3
- Rustdoc should consider not hiding items that come from the same Cargo workspace HOT 1
- ICE:`assertion failed: import.imported_module.get().is_none()` HOT 1
- ICE :coherence: impl was matchable against Binder but now it is not, otherwise hang
- tests/crashes/124436.rs is creating a `mir_dump` directory in the repo root, not the build directory HOT 1
- `-C target_cpu=cortex-a72` (and `-target-cpu=native` on Raspberry Pi) wrongly enables crypto features that are optional on Cortex-A72 HOT 3
- Replace uses of #[allow(static_mut_refs)] with SyncUnsafeCell HOT 6
- Generic compilation struggle HOT 7
- Generic Problem Compilation HOT 1
- the documentation for the Future trait specifies invariants that are not always true
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.