mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
Add URL to test cases
This commit is contained in:
parent
df5b8e39b7
commit
999aed4bff
@ -1,4 +1,5 @@
|
||||
//@ check-pass
|
||||
// https://github.com/rust-lang/rust/issues/101076
|
||||
|
||||
const _: () = {
|
||||
#[macro_export]
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/102986
|
||||
struct Struct {
|
||||
y: (typeof("hey"),),
|
||||
//~^ `typeof` is a reserved keyword but unimplemented
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ check-pass
|
||||
// https://github.com/rust-lang/rust/issues/103997
|
||||
|
||||
pub fn foo() {}
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
// https://github.com/rust-lang/rust/issues/105334
|
||||
impl Vec< br##"*.."## > {}
|
||||
//~^ ERROR
|
||||
|
@ -1,3 +1,4 @@
|
||||
// https://github.com/rust-lang/rust/issues/105737
|
||||
impl Vec<lol> {}
|
||||
//~^ ERROR
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ compile-flags: -Znormalize-docs
|
||||
// https://github.com/rust-lang/rust/issues/105742
|
||||
use std::ops::Index;
|
||||
|
||||
pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) {
|
||||
|
@ -1,5 +1,6 @@
|
||||
//@ compile-flags: --document-private-items
|
||||
//@ edition:2021
|
||||
// https://github.com/rust-lang/rust/issues/106213
|
||||
|
||||
fn use_avx() -> dyn {
|
||||
//~^ ERROR at least one trait is required for an object type
|
||||
|
@ -2,6 +2,7 @@
|
||||
//@ compile-flags: --document-private-items
|
||||
//@ build-pass
|
||||
//@ only-linux
|
||||
// https://github.com/rust-lang/rust/issues/107918
|
||||
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
@ -1,4 +1,5 @@
|
||||
//@ check-pass
|
||||
// https://github.com/rust-lang/rust/issues/110900
|
||||
|
||||
#![crate_type="lib"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user