mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-18 17:40:29 +00:00
tree-wide: make rustdoc links spiky so they are clickable
This commit is contained in:
parent
660a89620f
commit
20b325c7d5
32 changed files with 37 additions and 37 deletions
|
@ -1,7 +1,7 @@
|
|||
//! RA Proc Macro Server
|
||||
//!
|
||||
//! This library is able to call compiled Rust custom derive dynamic libraries on arbitrary code.
|
||||
//! The general idea here is based on https://github.com/fedochet/rust-proc-macro-expander.
|
||||
//! The general idea here is based on <https://github.com/fedochet/rust-proc-macro-expander>.
|
||||
//!
|
||||
//! But we adapt it to better fit RA needs:
|
||||
//!
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! lib-proc-macro Buffer management for same-process client<->server communication.
|
||||
//!
|
||||
//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/buffer.rs
|
||||
//! Copy from <https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/buffer.rs>
|
||||
//! augmented with removing unstable features
|
||||
|
||||
use std::io::{self, Write};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! lib-proc-macro Client-side types.
|
||||
//!
|
||||
//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/client.rs
|
||||
//! Copy from <https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/client.rs>
|
||||
//! augmented with removing unstable features
|
||||
|
||||
use super::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! lib-proc-macro Closure type (equivalent to `&mut dyn FnMut(A) -> R`) that's `repr(C)`.
|
||||
//!
|
||||
//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/closure.rs#
|
||||
//! Copy from <https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/closure.rs>
|
||||
//! augmented with removing unstable features
|
||||
|
||||
#[repr(C)]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! lib-proc-macro Server-side handles and storage for per-handle data.
|
||||
//!
|
||||
//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/handle.rs
|
||||
//! Copy from <https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/handle.rs>
|
||||
//! augmented with removing unstable features
|
||||
|
||||
use std::collections::{BTreeMap, HashMap};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! lib-proc-macro Internal interface for communicating between a `proc_macro` client
|
||||
//!
|
||||
//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/mod.rs
|
||||
//! Copy from <https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/mod.rs>
|
||||
//! augmented with removing unstable features
|
||||
//!
|
||||
//! Internal interface for communicating between a `proc_macro` client
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! lib-proc-macro Serialization for client-server communication.
|
||||
//!
|
||||
//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/rpc.rs
|
||||
//! Copy from <https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/rpc.rs>
|
||||
//! augmented with removing unstable features
|
||||
//!
|
||||
//! Serialization for client-server communication.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! lib-proc-macro `Cell` variant for (scoped) existential lifetimes.
|
||||
//!
|
||||
//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/scoped_cell.rs#L1
|
||||
//! Copy from <https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/scoped_cell.rs#L1>
|
||||
//! augmented with removing unstable features
|
||||
|
||||
use std::cell::Cell;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! lib-proc-macro server-side traits
|
||||
//!
|
||||
//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/server.rs
|
||||
//! Copy from <https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/bridge/server.rs>
|
||||
//! augmented with removing unstable features
|
||||
|
||||
use super::*;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! lib-proc-macro diagnostic
|
||||
//!
|
||||
//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/diagnostic.rs
|
||||
//! Copy from <https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/diagnostic.rs>
|
||||
//! augmented with removing unstable features
|
||||
|
||||
use crate::proc_macro::Span;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! lib-proc-macro main module
|
||||
//!
|
||||
//! Copy from https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/lib.rs
|
||||
//! Copy from <https://github.com/rust-lang/rust/blob/6050e523bae6de61de4e060facc43dc512adaccd/src/libproc_macro/lib.rs>
|
||||
//! augmented with removing unstable features
|
||||
|
||||
// NOTE(@edwin0cheng):
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//! Rustc proc-macro server implementation with tt
|
||||
//!
|
||||
//! Based on idea from https://github.com/fedochet/rust-proc-macro-expander
|
||||
//! Based on idea from <https://github.com/fedochet/rust-proc-macro-expander>
|
||||
//! The lib-proc-macro server backend is `TokenStream`-agnostic, such that
|
||||
//! we could provide any TokenStream implementation.
|
||||
//! The original idea from fedochet is using proc-macro2 as backend,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue