mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-03 22:49:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			298 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			298 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ aux-build: color.rs
 | 
						|
 | 
						|
//! The purpose of this test it to have a link to [a foreign variant](Red).
 | 
						|
 | 
						|
extern crate color;
 | 
						|
use color::Color::Red;
 | 
						|
 | 
						|
// @set red = "$.index[*][?(@.inner.module.is_crate)].links.Red"
 | 
						|
 | 
						|
// @!has "$.index[*][?(@.name == 'Red')]"
 | 
						|
// @!has "$.index[*][?(@.name == 'Color')]"
 |