Matthias Krüger
80f749dfa0
Rollup merge of #110765 - wackbyte:fix-defaultness-position, r=fmease,GuillaumeGomez
...
rustdoc: fix position of `default` in method rendering
With the following code:
```rs
#![feature(specialization)]
pub trait A {
unsafe fn a();
}
impl A for () {
default unsafe fn a() {}
}
```
rustdoc would render the `impl` of `a` as
```rs
unsafe default fn a()
```
which is inconsistent with the actual position of `default`.
This PR fixes this issue.
2023-07-20 17:19:32 +02:00
..
2023-06-21 13:45:00 +02:00
2023-06-21 21:53:55 +02:00
2023-06-26 23:16:16 +09:00
2023-06-01 11:09:42 +05:30
2023-06-21 13:45:00 +02:00
2023-06-21 15:34:42 +02:00
2023-07-14 16:38:01 -07:00
2023-07-14 16:38:01 -07:00
2023-07-14 16:38:01 -07:00
2023-07-14 16:38:01 -07:00
2023-07-14 16:38:01 -07:00
2023-07-14 16:38:01 -07:00
2023-01-11 09:32:08 +00:00
2023-06-07 13:29:36 +02:00
2023-01-30 11:06:18 -07:00
2023-07-12 16:50:43 +02:00
2023-01-27 09:04:39 -07:00
2023-06-24 23:39:35 +02:00
2023-06-24 23:39:35 +02:00
2023-06-24 23:14:57 -04:00
2023-01-11 09:32:08 +00:00
2023-07-19 14:34:06 +02:00
2023-01-11 09:32:08 +00:00
2023-06-02 13:51:01 +02:00
2023-07-14 16:38:01 -07:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-06-23 15:12:48 +02:00
2023-06-23 15:12:48 +02:00
2023-02-07 19:00:42 -07:00
2023-01-11 09:32:08 +00:00
2023-01-28 17:18:56 -07:00
2023-06-01 18:35:00 +02:00
2023-02-07 19:00:42 -07:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-30 11:06:18 -07:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-28 17:18:56 -07:00
2023-01-11 09:32:08 +00:00
2023-01-28 17:18:56 -07:00
2023-04-19 11:32:50 +02:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-07-18 10:41:16 +02:00
2023-07-18 10:41:16 +02:00
2023-03-27 18:58:07 +00:00
2023-06-05 10:48:34 +02:00
2023-06-23 15:12:48 +02:00
2023-06-23 15:12:48 +02:00
2023-06-12 11:35:19 +02:00
2023-07-12 16:50:43 +02:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-30 11:06:18 -07:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-03-30 22:56:52 +02:00
2023-01-11 09:32:08 +00:00
2023-01-11 09:32:08 +00:00
2023-06-21 15:21:32 +02:00
2023-06-03 19:57:17 +02:00
2023-06-26 16:38:14 +02:00
2023-01-11 09:32:08 +00:00
2023-07-14 16:54:14 -07:00
2023-07-14 16:38:01 -07:00
2023-01-11 09:32:08 +00:00
2023-07-14 16:54:14 -07:00
2023-01-11 09:32:08 +00:00
2023-06-21 17:42:53 +02:00
2023-01-11 09:32:08 +00:00
2023-02-03 17:58:26 -07:00
2023-06-22 17:39:23 +02:00
2023-06-22 17:39:23 +02:00
2023-06-22 17:39:23 +02:00
2023-06-22 17:39:23 +02:00
2023-06-22 17:39:23 +02:00
2023-06-22 17:39:23 +02:00
2023-06-22 17:39:23 +02:00
2023-02-07 11:23:25 -07:00