Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust/tests/ui/feature-gates/feature-gate-derive-coerce-pointee.rs

10 lines
288 B
Rust
Raw Normal View History

use backticks instead of single quotes when reporting "use of unstable library feature" This is consistent with all other diagnostics I could find containing features and enables the use of `DiagSymbolList` for generalizing diagnostics for unstable library features to multiple features.
2024-11-02 16:10:24 -07:00
use std::marker::CoercePointee; //~ ERROR use of unstable library feature `derive_coerce_pointee`
s/SmartPointer/CoerceReferent/g move derive_smart_pointer into removed set
2024-10-05 17:44:53 +08:00
use backticks instead of single quotes when reporting "use of unstable library feature" This is consistent with all other diagnostics I could find containing features and enables the use of `DiagSymbolList` for generalizing diagnostics for unstable library features to multiple features.
2024-11-02 16:10:24 -07:00
#[derive(CoercePointee)] //~ ERROR use of unstable library feature `derive_coerce_pointee`
s/SmartPointer/CoerceReferent/g move derive_smart_pointer into removed set
2024-10-05 17:44:53 +08:00
#[repr(transparent)]
struct MyPointer<'a, #[pointee] T: ?Sized> {
ptr: &'a T,
}
fn main() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 233ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API